/*
Theme Name: New York Observed
Theme URI: https://newyorkobserved.com/
Author: Pilar Perez
Author URI: https://www.pilarnusaphoto.com/
Description: A restrained photography-first theme for independent documentary journalism.
Version: 2.94.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: nyo
*/
:root{--paper:#fafaf8;--ink:#101010;--gray:#686865;--line:#d9d9d5;--soft:#efefec;--wide:92.5rem;--feature:72rem;--read:56rem;--page-gutter:2.5rem;--story-gutter:1.5rem;--photo-gap:1.5rem;--serif:"Newsreader",Georgia,serif;--sans:Inter,Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.55 var(--sans);-webkit-font-smoothing:antialiased}img{display:block;max-width:100%;height:auto}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:.18em}a:hover{color:#555}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.screen-reader-text:focus{clip:auto;width:auto;height:auto;top:1rem;left:1rem;background:#fff;padding:.7rem;z-index:200}.shell{width:min(calc(100% - (var(--page-gutter) * 2)),var(--wide));margin-inline:auto}

/* Masthead */
.site-header{position:sticky;top:0;z-index:100;background:rgba(250,250,248,.97);border-bottom:1px solid var(--line)}.header-inner{min-height:5.1rem;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:2rem}.brand{font:500 19px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;text-decoration:none}.menu{display:flex;gap:1.75rem;list-style:none;margin:0;padding:0}.menu a,.meta,.eyebrow,.label{font-size:9px;letter-spacing:.13em;text-transform:uppercase;text-decoration:none}.header-tools{text-align:right}.search-link{font-size:18px;text-decoration:none}.menu-toggle{display:none;background:none;border:0;min-width:3rem;min-height:3rem;font-size:1.2rem}

/* Home */
.hero{width:min(100%,var(--feature));margin-inline:auto;padding:2.1rem 0 4.9rem}.hero a,.selected-main a,.selected-side a,.archive-card a,.field-strip a{color:inherit;text-decoration:none}.hero-media{aspect-ratio:2.2/1;overflow:hidden;background:#eee}.hero-media img{width:100%;height:100%;object-fit:cover}.hero-copy{display:grid;grid-template-columns:1.75fr 1fr;gap:9vw;padding:1.55rem var(--page-gutter) 0}.display-title{max-width:13ch;margin:.55rem 0;font:400 clamp(40px,4.2vw,54px)/.95 var(--serif);letter-spacing:-.025em}.deck{max-width:38ch;margin:1.2rem 0;font:400 21px/1.38 var(--serif);color:#3e3e3b}.deck p,.article-deck p{margin:0}.meta,.eyebrow,.label{color:var(--gray)}.section{padding:5.1rem 0;border-top:1px solid var(--line)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:2.2rem}.section-head h2{margin:0;font:400 26px/1 var(--serif)}.section-link{font-size:9px;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}.selected{display:grid;grid-template-columns:1.12fr .88fr;gap:1.75rem}.selected-main .photo{height:450px;overflow:hidden}.photo img{width:100%;height:100%;object-fit:cover}.story-copy{padding-top:.75rem}.story-copy h3{margin:.35rem 0;font:400 18px/1.08 var(--serif)}.story-copy p{margin:.35rem 0;font-size:13px;color:#565653}.selected-side{height:450px;display:flex;flex-direction:column;gap:.6rem}.selected-side article{min-height:0;flex:1;display:grid;grid-template-columns:51% 1fr;gap:1.1rem;overflow:hidden}.selected-side .photo{height:100%;overflow:hidden}.selected-side .story-copy{padding-top:0}.selected-side .story-copy p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:5}.field-report{background:var(--soft)}.field-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:.5rem}.field-strip a{height:220px;overflow:hidden}.field-strip img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.field-strip a:hover img{transform:scale(1.02)}.field-copy{display:grid;grid-template-columns:1fr 2fr;gap:7vw;margin-top:1.6rem}.field-copy h3{margin:.35rem 0;font:400 clamp(24px,2.4vw,31px)/.98 var(--serif)}.field-copy p{max-width:42ch;margin:0 0 1rem;font:400 14px/1.4 var(--serif)}.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:1.3rem;border-top:1px solid #999;padding-top:.75rem;font-size:10px}.facts strong{display:block;margin-bottom:.3rem;color:var(--gray);font-size:8px;letter-spacing:.11em;text-transform:uppercase}.archive-grid{width:min(100%,65.625rem);margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:2.4rem}.archive-card .photo{height:180px;overflow:hidden}.archive-card h3{margin:.35rem 0;font:400 16px/1.05 var(--serif)}.neighborhoods{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}.neighborhoods a{display:flex;justify-content:space-between;padding:1.1rem .25rem;border-bottom:1px solid var(--line);font:400 16px/1 var(--serif);text-decoration:none}.neighborhoods a:nth-child(3n+2){margin-inline:1.5rem}.neighborhood-arrow{font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:400;line-height:1;font-variant-emoji:text}

/* Posts and pages */
.article-header{width:min(calc(100% - (var(--story-gutter) * 2)),64rem);margin:auto;padding:6rem 0 3rem;text-align:center}.article-title{margin:.5rem 0 1rem;font:400 clamp(38px,5.5vw,68px)/.95 var(--serif);letter-spacing:-.025em}.article-deck{font:400 clamp(17px,2vw,23px)/1.4 var(--serif);color:#444}.article-credits{margin-top:1.65rem}.article-dateline{margin:0;color:#3f3f3d;font:italic 400 16px/1.35 var(--serif)}.article-byline{margin:.55rem 0 0;color:var(--gray);font:500 8px/1.3 var(--sans);letter-spacing:.13em;text-transform:uppercase}.feature{width:min(100%,var(--feature));margin:0 auto 2rem}.feature img{width:100%;height:auto}

/* Story system: one reading measure; centred photos; no post-specific rules. */
.entry{width:100%;max-width:none;margin:0;padding:0 0 7rem;font:400 18px/1.75 var(--serif)}.entry>p,.entry>h2,.entry>h3,.entry>h4,.entry>blockquote,.entry>ul,.entry>ol,.entry>.event-record{width:min(calc(100% - (var(--story-gutter) * 2)),var(--read));margin-inline:auto}.entry>p{margin-block:0 2rem}.entry h2,.entry h3,.entry h4{line-height:1.15}.entry figure{max-width:100%;margin:0 auto}.entry figure img{height:auto}.entry>.wp-block-image:not(.alignfull):not(.alignwide),.entry>.wp-block-gallery,.entry>.wp-block-columns{width:min(calc(100% - (var(--story-gutter) * 2)),var(--wide));margin:var(--photo-gap) auto}.entry .alignwide{width:min(calc(100% - (var(--story-gutter) * 2)),var(--wide));max-width:none;margin:var(--photo-gap) auto}.entry .alignfull{width:100%;max-width:none;margin:var(--photo-gap) 0}.entry .wp-block-gallery figure{margin:0}.entry .wp-block-columns{gap:var(--photo-gap)}.entry .wp-block-columns figure{margin:0}.entry .wp-block-columns .wp-block-column{min-width:0}.wp-caption-text,figcaption{padding:.7rem 0;font:400 11px/1.4 var(--sans);color:var(--gray)}.event-record{margin-bottom:3rem;border-block:1px solid var(--line);padding:1.3rem 0;font:400 12px/1.5 var(--sans)}.event-record dl div{display:grid;grid-template-columns:7rem 1fr;gap:1rem}.event-record dd{margin:0}

/* Spectra / UAGB uses exactly the same content rules. */
.single-post .entry .wp-block-uagb-container{max-width:none}.single-post .entry>.wp-block-uagb-container{width:100%;margin:0!important;padding:0!important}.single-post .entry>.wp-block-uagb-container>.uagb-container-inner-blocks-wrap{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.single-post .entry .uagb-container-inner-blocks-wrap>p,.single-post .entry .uagb-container-inner-blocks-wrap>h2,.single-post .entry .uagb-container-inner-blocks-wrap>h3,.single-post .entry .uagb-container-inner-blocks-wrap>h4,.single-post .entry .uagb-container-inner-blocks-wrap>blockquote,.single-post .entry .uagb-container-inner-blocks-wrap>ul,.single-post .entry .uagb-container-inner-blocks-wrap>ol{width:min(calc(100% - (var(--story-gutter) * 2)),var(--read))!important;max-width:var(--read)!important;margin:0 auto 2rem!important;padding:0!important}.single-post .entry .uagb-container-inner-blocks-wrap>figure.wp-block-image,.single-post .entry .uagb-container-inner-blocks-wrap>.wp-block-image{margin:var(--photo-gap) auto!important;padding:0!important}.single-post .entry .uagb-container-inner-blocks-wrap>.wp-block-columns{width:min(calc(100% - (var(--story-gutter) * 2)),var(--wide))!important;max-width:var(--wide)!important;margin:var(--photo-gap) auto!important;padding:0!important}.single-post .entry .uagb-container-inner-blocks-wrap>.wp-block-uagb-container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.single-post .entry .uagb-container-inner-blocks-wrap>.wp-block-uagb-container>.uagb-container-inner-blocks-wrap{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}

.publication-header{width:min(calc(100% - (var(--page-gutter) * 2)),var(--wide));margin:0 auto;padding:4rem 0 2.25rem;border-bottom:1px solid var(--line)}.publication-kicker{display:block;margin-bottom:.75rem;color:var(--gray);font:500 9px/1 var(--sans);letter-spacing:.16em;text-transform:uppercase}.publication-title{margin:0;font:400 clamp(36px,3.5vw,48px)/1 var(--serif);letter-spacing:-.025em}.standard-page .entry{padding-top:3.25rem}.archive{padding-bottom:7rem}.archive .publication-header{width:100%}.archive .story-grid{padding-top:2.5rem}.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}.card a{text-decoration:none}.card-image{aspect-ratio:4/3;overflow:hidden}.card-image img{width:100%;height:100%;object-fit:cover}.card h3{margin:.5rem 0;font:400 20px/1.05 var(--serif)}.card p{font-size:13px;color:#555}

/* End-of-story navigation */
.story-navigation{width:min(calc(100% - (var(--page-gutter) * 2)),var(--wide));margin:0 auto 5rem;padding-top:1.5rem;border-top:1px solid var(--line)}.story-navigation-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:baseline;gap:2rem;margin-bottom:2rem}.story-back{grid-column:1;justify-self:start;font-size:9px;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}.story-neighborhoods{grid-column:2;justify-self:end;min-width:0;text-align:right;font-size:9px;letter-spacing:.12em;text-transform:uppercase}.story-neighborhoods span{margin-right:.65rem;color:var(--gray)}.story-pager{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-block:1px solid var(--line)}.story-pager-item{min-height:7rem;padding:1.35rem 0;display:flex;flex-direction:column;justify-content:center}.story-pager-item+.story-pager-item{border-left:1px solid var(--line);padding-left:2rem}.story-pager-item:last-child{align-items:flex-end;text-align:right}.story-pager-label{margin-bottom:.65rem;color:var(--gray);font:500 8px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase}.story-pager a{max-width:24ch;font:400 21px/1.08 var(--serif);text-decoration:none}

/* Footer */
.site-footer{background:#111;color:#eee;padding:4.5rem 0 1.75rem}.footer-title{margin:0 0 3rem;font:400 27px/1 var(--serif)}.footer-bottom{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-top:1px solid #333;padding-top:1.3rem;color:#999;font-size:10px}.footer-bottom>span:last-child{text-align:right}.footer-icons{display:flex;align-items:center;gap:1.1rem}.footer-icons a{position:relative;display:grid;place-items:center;width:20px;height:20px;color:#aaa;text-decoration:none}.instagram-icon{width:18px!important;height:18px!important;border:1.25px solid currentColor;border-radius:5px}.instagram-icon::before{content:"";width:6px;height:6px;border:1.25px solid currentColor;border-radius:50%}.instagram-icon::after{content:"";position:absolute;top:3px;right:3px;width:2px;height:2px;background:currentColor;border-radius:50%}.contact-icon{width:18px!important;height:14px!important;border:1.25px solid currentColor;border-radius:2px}.contact-icon::before,.contact-icon::after{content:"";position:absolute;top:4px;width:9px;height:1.25px;background:currentColor}.contact-icon::before{left:1px;transform:rotate(32deg)}.contact-icon::after{right:1px;transform:rotate(-32deg)}

@media(max-width:1024px){.shell{width:calc(100% - 2.5rem)}body{padding-top:5.1rem}.site-header{position:fixed;inset:0 0 auto;z-index:100}body.admin-bar .site-header{top:32px}.header-inner{grid-template-columns:auto 1fr auto;gap:.75rem}.menu-toggle{display:block}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;padding:1.5rem;background:var(--paper);border-bottom:1px solid var(--line)}.site-nav.open{display:block}.menu{flex-direction:column}.hero-copy{gap:3rem}.selected-main .photo,.selected-side{height:410px}.selected-side .photo{height:100%}.field-strip{grid-template-columns:repeat(3,1fr)}.archive-grid{width:min(100%,50rem);gap:1.75rem}.archive-card .photo{height:165px}.neighborhoods{grid-template-columns:repeat(2,1fr)}.neighborhoods a:nth-child(3n+2){margin:0}.neighborhoods a:nth-child(even){margin-left:1.2rem}.single-post .entry .uagb-container-inner-blocks-wrap{display:flex!important;flex-direction:column!important;align-items:stretch!important}.single-post .entry .uagb-container-inner-blocks-wrap>.wp-block-uagb-container{align-self:stretch!important}.single-post .entry .wp-block-columns{width:calc(100% - (var(--story-gutter) * 2))!important;max-width:none!important;margin-inline:auto!important}}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
@media(max-width:640px){:root{--page-gutter:.875rem;--story-gutter:1.375rem;--photo-gap:1.25rem}html,body{overflow-x:hidden}body{padding-top:4.25rem;font-size:13px}.shell{width:calc(100% - 1.75rem)}.header-inner{min-height:4.25rem;gap:.35rem}.brand{font-size:19px}.hero{padding:.75rem 0 3.1rem}.hero-media{aspect-ratio:8/5}.hero-copy{display:grid;grid-template-columns:1fr;gap:.25rem;padding:1.25rem var(--story-gutter) 0}.display-title{font-size:36px}.deck{font-size:17px}.section{padding:3.6rem 0}.section-head h2{font-size:24px}.selected{grid-template-columns:1fr}.selected-main .photo{height:auto;aspect-ratio:auto;overflow:visible}.selected-main .photo img{height:auto;object-fit:contain}.selected-side{height:auto;display:grid;grid-template-columns:1fr 1fr;gap:.85rem}.selected-side article{display:block;overflow:visible}.selected-side .photo{height:auto;aspect-ratio:3/2;overflow:hidden}.selected-side .photo img{object-fit:contain}.selected-side .story-copy{padding-top:.65rem}.selected-side .story-copy p{display:-webkit-box;margin-top:.55rem;font-size:12px;line-height:1.45;-webkit-line-clamp:3}.story-copy h3{font-size:17px}.field-strip{grid-template-columns:repeat(2,1fr)}.field-strip a{height:240px}.field-copy{grid-template-columns:1fr;gap:.5rem}.field-copy h3{font-size:24px}.facts{grid-template-columns:1fr}.archive-grid{width:88%;grid-template-columns:1fr;gap:2rem}.archive-card .photo{height:auto;aspect-ratio:auto;overflow:visible}.archive-card .photo img{height:auto;object-fit:contain}.neighborhoods{grid-template-columns:1fr}.neighborhoods a:nth-child(even){margin:0}.article-header{width:calc(100% - 2rem);padding:4rem 0 2.25rem}.article-title{font-size:36px}.article-credits{margin-top:1.25rem}.article-dateline{font-size:15px}.feature{margin-bottom:1.5rem}.entry{font-size:17px;line-height:1.7;padding-bottom:4.5rem}.entry>p{margin-bottom:1.6rem}.entry>.wp-block-image:not(.alignfull):not(.alignwide),.entry>.wp-block-gallery,.entry>.wp-block-columns,.entry .alignwide{width:calc(100% - (var(--story-gutter) * 2));margin:var(--photo-gap) auto}.single-post .entry .uagb-container-inner-blocks-wrap>p,.single-post .entry .uagb-container-inner-blocks-wrap>h2,.single-post .entry .uagb-container-inner-blocks-wrap>h3,.single-post .entry .uagb-container-inner-blocks-wrap>h4,.single-post .entry .uagb-container-inner-blocks-wrap>blockquote,.single-post .entry .uagb-container-inner-blocks-wrap>ul,.single-post .entry .uagb-container-inner-blocks-wrap>ol{width:calc(100% - (var(--story-gutter) * 2))!important;margin:0 auto 1.6rem!important}.single-post .entry .uagb-container-inner-blocks-wrap>figure.wp-block-image,.single-post .entry .uagb-container-inner-blocks-wrap>.wp-block-image{width:auto!important;max-width:calc(100% - (var(--story-gutter) * 2))!important;margin:var(--photo-gap) auto!important}.single-post .entry .uagb-container-inner-blocks-wrap>.wp-block-columns{width:calc(100% - (var(--story-gutter) * 2))!important;margin:var(--photo-gap) auto!important;gap:var(--photo-gap)!important}.single-post .entry .wp-block-columns .wp-block-column,.single-post .entry .wp-block-columns figure{width:100%!important;margin:0!important}.event-record{width:calc(100% - (var(--story-gutter) * 2));margin-inline:auto}.event-record dl div{grid-template-columns:1fr;gap:.2rem}.publication-header{width:calc(100% - 1.75rem);padding:3.25rem 0 1.75rem}.publication-title{font-size:32px}.standard-page .entry{padding-top:2.5rem}.archive .story-grid{padding-top:2rem}.story-grid{grid-template-columns:1fr}.story-navigation{width:calc(100% - 2rem);margin-bottom:3.5rem}.story-navigation-top{gap:1rem;margin-bottom:1.5rem}.story-pager-item{min-height:6rem;padding:1.25rem 0}.story-pager-item+.story-pager-item{padding-left:1rem}.story-pager a{font-size:17px;overflow-wrap:anywhere}.footer-bottom{grid-template-columns:1fr;gap:1.25rem}.footer-bottom>span:last-child{text-align:left}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Final content normalization. Gutenberg and Spectra sometimes add invisible
   blank paragraphs or their own wide column gaps. These rules keep every new
   story on the same measured photo-essay rhythm. */
.single-post .entry .uagb-container-inner-blocks-wrap{row-gap:var(--photo-gap)!important}
.single-post .entry .wp-block-columns{width:min(calc(100% - 3rem),var(--wide))!important;max-width:var(--wide)!important;gap:1.25rem!important;margin:var(--photo-gap) auto!important}
.single-post .entry .wp-block-columns figure{width:100%!important;margin:0!important}
.single-post .entry p:has(br:only-child){display:none!important}
.single-post .entry p br+br{display:none}

/* Homepage media stays full-width; only the words beneath it receive an inset. */
.hero.shell{width:100%;max-width:var(--feature)}
.hero-media{width:100%}

/* Story feature photographs become wider only on desktop, without cropping. */
/* There is legacy Customizer CSS on the live site that otherwise restricts
   this to 64rem. The story feature and homepage lead intentionally share one
   frame. */
.single-post .feature{width:100%!important;max-width:var(--feature)!important}
.single-post .entry .uagb-container-inner-blocks-wrap{row-gap:0!important}
.single-post .entry .uagb-container-inner-blocks-wrap>figure.wp-block-image{margin:var(--photo-gap) auto!important}
@media(max-width:640px){:root{--photo-gap:1rem}.single-post .entry .wp-block-columns{width:calc(100% - (var(--story-gutter) * 2))!important;margin:var(--photo-gap) auto!important;gap:var(--photo-gap)!important}}

/* Every standalone photograph is centred inside WordPress's full-width
   figure wrapper. This preserves each photograph's original proportions,
   while keeping wide pairs in their intentional two-column grid. */
.single-post .entry .uagb-container-inner-blocks-wrap>figure.wp-block-image>img,
.single-post .entry>figure.wp-block-image>img{display:block;margin-inline:auto!important}

/* One restrained, repeatable photo-essay rhythm.  A photograph receives the
   same breathing room before and after it, rather than accumulating the
   spacing of several nested Gutenberg blocks. */
.single-post .entry .uagb-container-inner-blocks-wrap>figure.wp-block-image,
.single-post .entry .uagb-container-inner-blocks-wrap>.wp-block-columns{margin:.875rem auto!important}
@media(max-width:640px){
  :root{--photo-gap:.75rem}
  /* Mobile keeps the existing reading margins; only photo rhythm changes. */
  .single-post .entry .uagb-container-inner-blocks-wrap>p,
  .single-post .entry .uagb-container-inner-blocks-wrap>h2,
  .single-post .entry .uagb-container-inner-blocks-wrap>h3,
  .single-post .entry .uagb-container-inner-blocks-wrap>h4,
  .single-post .entry .uagb-container-inner-blocks-wrap>blockquote,
  .single-post .entry .uagb-container-inner-blocks-wrap>ul,
  .single-post .entry .uagb-container-inner-blocks-wrap>ol{width:calc(100% - (var(--story-gutter) * 2))!important;max-width:var(--read)!important}
  .single-post .entry .uagb-container-inner-blocks-wrap>figure.wp-block-image,
  .single-post .entry .uagb-container-inner-blocks-wrap>.wp-block-columns{margin:.75rem auto!important}
  .single-post .entry .wp-block-columns{gap:.75rem!important}
}

/* Desktop editorial proportion: the reading column is generous, while a
   standalone horizontal photograph never overwhelms the page. Portraits
   retain their natural size and two-image rows are unaffected. */
@media(min-width:1025px){
  :root{--read:64rem}
  .single-post .entry .uagb-container-inner-blocks-wrap>figure.wp-block-image>img,
  .single-post .entry>figure.wp-block-image>img{max-width:min(100%,var(--read))!important}
  /* Two-image pairs are a supporting beat, not a full-bleed billboard. */
  .single-post .entry .wp-block-uagb-container .wp-block-columns,
  .single-post .entry>.wp-block-columns{
    width:min(calc(100% - 3rem),var(--read))!important;
    max-width:var(--read)!important;
    gap:1rem!important;
    margin:.875rem auto!important;
  }
}

/* Gutenberg can leave an empty paragraph between image blocks; it should not
   create a second layer of spacing in an otherwise regular photo sequence. */
.single-post .entry .uagb-container-inner-blocks-wrap>p:empty{display:none!important}

/* Consecutive photo blocks share one gap instead of adding two margins
   together. Text-to-photo spacing remains intentionally more generous. */
.single-post .entry .uagb-container-inner-blocks-wrap>:is(figure.wp-block-image,.wp-block-columns)+:is(figure.wp-block-image,.wp-block-columns){margin-top:0!important}

/* One featured-image system everywhere. A normal 3:2 Lightroom export is
   used once as the Featured Image, then shown in the same restrained 16:9
   frame on the homepage, story, desktop, tablet, and phone. */
.hero-media,.single-post .feature{aspect-ratio:16/9!important;overflow:hidden!important;background:transparent}
.hero-media img,.single-post .feature img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 50%!important}

/* The homepage lead and story feature deliberately share the exact same
   16:9 frame. One WordPress Featured Image can therefore be used in both
   places without asking the editor to choose two different focal positions. */
@media(min-width:641px){
  .hero.shell{width:min(calc(100% - (var(--page-gutter) * 2)),var(--wide))!important;max-width:var(--wide)!important;padding-bottom:2rem}
  .hero-media{aspect-ratio:16/9!important}
  .hero + .section{padding-top:3.2rem}
}

/* The selected-story row is one shared layout. The secondary column expands
   to the main story's height at desktop and tablet sizes instead of ending
   early; on phones its two thumbnail frames are intentionally equal. */
@media(min-width:1025px){
  /* One shared desktop frame: the two supporting stories fill the
     exact height of the principal story instead of determining their own
     combined height from differently shaped source photographs. */
  .selected-main .photo,.selected-side{height:450px!important;min-height:0!important}
}
@media(min-width:641px) and (max-width:1024px){
  .selected-main .photo,.selected-side{height:410px!important;min-height:0!important}
}
@media(max-width:640px){
  .selected-side{align-items:start!important}
  .selected-side article{min-width:0!important}
  .selected-side .photo{position:relative!important;display:block!important;width:100%!important;height:auto!important;aspect-ratio:3/2!important;overflow:hidden!important}
  .selected-side .photo img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}
}

/* The archive grows gracefully: a single remaining story is presented as a
   deliberate archival feature, then becomes a pair and finally a full grid. */
@media(min-width:641px){
  .archive-grid--1{width:min(100%,44rem)!important;grid-template-columns:1fr!important}
  .archive-grid--1 .archive-card .photo{height:auto!important;aspect-ratio:16/9!important}
  .archive-grid--1 .archive-card h3{font-size:22px!important}
  .archive-grid--2{width:min(100%,52rem)!important;grid-template-columns:repeat(2,1fr)!important;gap:2rem!important}
  .archive-grid--2 .archive-card .photo{height:220px!important}
}

/* The phone Field Report reads as a compact contact sheet. */
@media(max-width:640px){.field-strip a{height:auto!important;aspect-ratio:3/2!important;background:var(--soft)}}

/* Field Report is a landscape-only editorial contact sheet. */
.field-strip a{height:auto;aspect-ratio:3/2;background:var(--soft)}
.field-strip img{object-fit:cover!important}
.field-copy h3 a{text-decoration:none}

/* On large screens the lead and its two supporting stories need a little
   more editorial air, without changing either card's measured height. */
@media (min-width:1025px){
  /* Keep the complete Selected Stories composition inside the same visual
     frame as the homepage hero. Longer excerpts must never cross its edge. */
  .selected{width:100%;margin-inline:0;gap:3rem;transform:none}
  .selected-side{transform:none}
}

/* Story links use the same quiet visual response as the Field Report: a
   nearly imperceptible photograph movement plus a fine editorial rule under
   the title.  The effect belongs to the reusable card/link, never to a
   particular post. */
.selected .photo,.archive-card .photo,.card-image{overflow:hidden}
.selected .photo img,.archive-card .photo img,.card-image img{
  transition:transform .4s ease;
}
.selected-main .story-copy h3,.selected-side .story-copy h3,.archive-card h3,.card h3,.field-copy h3{
  position:relative;
  display:table;
}
.selected-main .story-copy h3::after,.selected-side .story-copy h3::after,.archive-card h3::after,.card h3::after,.field-copy h3::after{
  content:"";
  position:absolute;
  right:0;
  bottom:-.32rem;
  left:0;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .24s ease;
}
.selected-main>a:hover .photo img,.selected-main>a:focus-visible .photo img,
.selected-side article:hover .photo img,.selected-side article:focus-within .photo img,
.archive-card>a:hover .photo img,.archive-card>a:focus-visible .photo img,
.card>a:hover .card-image img,.card>a:focus-visible .card-image img{
  transform:scale(1.02);
}
.selected-main>a:hover h3::after,.selected-main>a:focus-visible h3::after,
.selected-side article:hover h3::after,.selected-side article:focus-within h3::after,
.archive-card>a:hover h3::after,.archive-card>a:focus-visible h3::after,
.card>a:hover h3::after,.card>a:focus-visible h3::after,
.field-copy h3:hover::after,.field-copy h3:focus-within::after{
  transform:scaleX(1);
}
@media (prefers-reduced-motion: reduce){
  .selected .photo img,.archive-card .photo img,.card-image img,
  .selected-main .story-copy h3::after,.selected-side .story-copy h3::after,.archive-card h3::after,.card h3::after,.field-copy h3::after{transition:none}
}

/* Consistent publication metadata. The reporting dateline stays distinct
   from this clearly labelled WordPress publication date. */
.published-date{
  display:block;
  margin-top:.6rem;
  color:var(--gray);
  font:500 8px/1.3 var(--sans);
  letter-spacing:.13em;
  text-transform:uppercase;
}
.selected-side .published-date{margin-top:.5rem}
.article-published{
  margin:.45rem 0 0;
  color:var(--gray);
  font:500 8px/1.3 var(--sans);
  letter-spacing:.13em;
  text-transform:uppercase;
}
