/* Task004: photographic masthead and native discovery; owner-liked section styles stay intact. */
.pv-header{padding-block:var(--pv-header-padding)}.pv-header-inner{min-height:calc(var(--pv-header-height) - var(--pv-header-padding)*2)}.pv-brand .pv-header-logo img{height:var(--pv-logo-height);width:auto!important;max-height:none!important;max-width:250px;object-fit:contain}.pv-header-logo{flex-shrink:0}.pv-header-search>summary{width:58px;border-radius:999px;background:var(--pv-primary);color:var(--pv-on-primary);border-color:transparent}.pv-header-search>summary:hover{box-shadow:0 0 0 3px var(--pv-soft)}
.pv-front{max-width:none!important;width:100%;padding-inline:0!important}.pv-front>.pv-homepage{max-width:none!important;width:100%}.pv-homepage>.pv-section{max-width:var(--pv-wide);margin-inline:auto}.pv-homepage-full>.pv-hero{margin-top:0;border-radius:0;min-height:var(--pv-hero-height);align-items:var(--pv-hero-align)}.pv-homepage-full .pv-hero-copy{max-width:1328px;width:100%;margin:auto;padding:clamp(36px,6vw,84px) 24px;box-sizing:border-box}.pv-homepage-full .pv-hero-copy>*{max-width:650px}.pv-homepage-full .pv-hero h1{max-width:16ch}.pv-homepage-full .pv-hero-image{width:100%;object-position:var(--pv-hero-x) var(--pv-hero-y)}.pv-homepage-full .pv-hero:after{background:linear-gradient(90deg,color-mix(in srgb,var(--pv-hero-scrim) var(--pv-hero-strength),transparent),color-mix(in srgb,var(--pv-hero-scrim) 38%,transparent) 65%,#0002)}.pv-homepage-full .pv-hero-copy{color:#fff;text-shadow:0 1px 12px #0003}.pv-homepage-full .pv-chips{margin-top:30px}.pv-homepage-contained>.pv-hero{max-width:var(--pv-wide);margin-inline:auto}
.pv-search-open{overflow:hidden}.pv-discovery{border:0;border-radius:18px;padding:0;background:var(--pv-bg);color:var(--pv-text);width:min(1180px,calc(100% - 48px));max-width:none;height:calc(100dvh - 64px);max-height:none;overscroll-behavior:contain}.pv-discovery::backdrop{background:#111b19bd;backdrop-filter:blur(4px)}.pv-discovery-inner{padding:32px clamp(20px,4vw,56px) 48px}.pv-discovery-close{display:block;margin:0 0 24px auto;background:transparent;color:var(--pv-text);border-color:var(--pv-border);min-height:44px}.pv-discovery-form{position:sticky;top:0;z-index:2;background:var(--pv-bg);padding:16px 0;border-bottom:1px solid var(--pv-border)}.pv-discovery-form label{display:block;font-size:.8rem;font-weight:700;margin-bottom:10px}.pv-discovery-form .wp-block-search__inside-wrapper{display:flex;gap:12px}.pv-discovery-form input{min-width:0;flex:1;border-radius:999px!important}.pv-discovery-form button{margin:0}.pv-discovery-status{font-size:.85rem;padding-block:16px;margin:0}.pv-discovery-results section{margin:20px 0 40px}.pv-discovery-results h2{font-size:calc(1.7rem * var(--pv-heading-scale,1));margin:0 0 22px}.pv-discovery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.pv-discovery-card{min-width:0}.pv-discovery-card a{display:block;color:inherit;text-decoration:none}.pv-discovery-card img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.pv-discovery-category{font-size:.65rem;letter-spacing:.08em;text-transform:uppercase;color:var(--pv-primary);font-weight:800;display:block;margin-top:12px}.pv-discovery-card h3{font-size:calc(1.2rem * var(--pv-heading-scale,1));line-height:1.25;margin:8px 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.pv-discovery-date{font-size:.72rem}.pv-discovery-card a:hover h3{text-decoration:underline}.pv-discovery[open]{animation:pv-discovery-entry .16s ease-out}@keyframes pv-discovery-entry{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:1340px){.pv-homepage>.pv-section{margin-inline:24px}.pv-homepage-contained>.pv-hero{margin-inline:24px}}
@media(max-width:767px){.pv-brand .pv-header-logo img{height:min(var(--pv-logo-height),58px);max-width:200px}.pv-homepage-full>.pv-hero{min-height:min(var(--pv-hero-height),720px)}.pv-homepage-full .pv-hero-copy{padding:40px 24px;width:auto;box-sizing:border-box}.pv-homepage-full .pv-hero-image{object-position:var(--pv-hero-mobile-x) var(--pv-hero-mobile-y)}.pv-homepage-full .pv-hero:after{background:color-mix(in srgb,var(--pv-hero-scrim) var(--pv-hero-strength),transparent)}.pv-discovery{width:100%;height:100dvh;margin:0;border-radius:0}.pv-discovery-inner{padding:16px 18px 36px}.pv-discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}.pv-discovery-close{margin-bottom:4px}.pv-discovery-card h3{font-size:calc(1rem * var(--pv-heading-scale,1))}.pv-discovery-form button{padding-inline:16px}.pv-homepage>.pv-section{margin-inline:18px}}
@media(prefers-reduced-motion:reduce){.pv-discovery[open]{animation:none}}

.pv-discovery-actions{display:flex;align-items:center;justify-content:space-between;gap:20px}.pv-discovery-all{font-size:.8rem;min-height:44px;display:flex;align-items:center;font-weight:700}

.pv-discovery [hidden]{display:none!important}

.pv-discovery-toolbar{display:flex;align-items:center;gap:14px;position:sticky;top:0;z-index:3;background:var(--pv-bg);border-bottom:1px solid var(--pv-border)}.pv-discovery-toolbar .pv-discovery-form{position:static;min-width:0;flex:1;border:0;margin:0}.pv-discovery-toolbar .pv-discovery-close{order:2;flex-shrink:0;width:46px;height:46px;min-height:44px;margin:0;padding:0;font-size:1.8rem;line-height:1;border:0;background:var(--pv-soft)}

/* B2 editorial rhythm: only magazine, journal, native archives and related surfaces. */
.pv-magazine{align-items:stretch}
.pv-magazine{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:28px}.pv-magazine>.pv-card:first-child{grid-column:auto;grid-row:span 3;display:flex;flex-direction:column;min-height:0}.pv-magazine>.pv-card:first-child>.pv-card-image{flex:1;min-height:330px;aspect-ratio:auto}.pv-magazine>.pv-card:first-child img{height:100%;aspect-ratio:auto;object-fit:cover}.pv-magazine>.pv-card:not(:first-child){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:center}.pv-magazine>.pv-card:not(:first-child) .pv-card-image{height:100%;min-height:150px;aspect-ratio:auto}.pv-magazine>.pv-card:not(:first-child) img{height:100%;aspect-ratio:auto;object-fit:cover}.pv-magazine>.pv-card:not(:first-child) h3{font-size:calc(1.35rem * var(--pv-heading-scale,1));margin-bottom:0}.pv-magazine>.pv-card:not(:first-child) p{display:none}.pv-magazine .pv-card-copy{padding-block:14px}.pv-magazine h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.pv-journal-grid>.pv-grid{grid-template-columns:repeat(var(--pv-journal-desktop),minmax(0,1fr));align-items:stretch;gap:40px 28px}.pv-journal-grid .pv-card,.pv-journal-grid .pv-card-copy{display:flex;flex-direction:column}.pv-journal-grid .pv-card-copy{flex:1}.pv-journal-grid .pv-card-image{aspect-ratio:var(--pv-journal-ratio)}.pv-journal-grid .pv-card-image img{width:100%;height:100%;aspect-ratio:var(--pv-journal-ratio);object-fit:cover}.pv-journal-grid h3,.pv-journal-archives .wp-block-query .wp-block-post-title,.pv-related h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--pv-journal-title-lines);overflow:hidden;min-height:2.32em}.pv-journal-grid .pv-card-copy>p,.pv-journal-archives .wp-block-query .wp-block-post-excerpt__excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--pv-journal-excerpt-lines);overflow:hidden}.pv-card-meta{font:500 .72rem/1.6 var(--pv-body);display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:10px}.pv-card-meta a{color:inherit}.pv-journal-archives .wp-block-query .wp-block-post-template{grid-template-columns:repeat(var(--pv-journal-desktop),minmax(0,1fr))!important}.pv-journal-archives .wp-block-query .wp-block-post-featured-image img{aspect-ratio:var(--pv-journal-ratio);object-fit:cover}.pv-journal-archives .wp-block-query .wp-block-post-template>li{min-width:0}.pv-related .pv-card-copy>p{display:none}
.pv-discovery-card a{display:flex;flex-direction:column;height:100%}.pv-discovery-card h3{min-height:3.75em}.pv-discovery-date{margin-top:auto}.pv-discovery-category{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wp-site-blocks{display:flex;flex-direction:column;min-height:100dvh}.wp-site-blocks>main{flex:1;margin-inline:auto}.wp-site-blocks>.wp-block-template-part:last-child{margin-top:auto}.pv-footer-logo-surface{display:inline-flex;padding:14px 20px;background:#fff;border-radius:10px;margin-bottom:20px}.pv-footer-logo-surface img,.pv-footer-inverse-logo img{width:auto;max-width:230px;max-height:80px;height:auto;object-fit:contain}.pv-footer-inverse-logo{display:inline-block;margin-bottom:20px}.pv-footer-brand .pv-wordmark{margin-bottom:20px}.pv-footer-bottom{gap:24px;align-items:center}.pv-back-top{width:46px;height:46px;min-width:46px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;text-decoration:none}.pv-back-top:hover{background:#ffffff18}.pv-empty-discovery{max-width:var(--pv-wide)!important;border-top:1px solid var(--pv-border);padding-top:36px;margin-block:36px}.pv-empty-discovery .pv-search{border:1px solid var(--pv-border);margin-bottom:24px}.pv-empty-topics{display:flex;flex-wrap:wrap;gap:10px;margin-block:22px 36px}.pv-empty-topics a{padding:10px 16px;background:var(--pv-soft);border-radius:999px;text-decoration:none;font-size:.85rem;min-height:44px}.pv-empty-discovery>.pv-button{margin-top:32px}.pv-empty-discovery>.pv-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){.pv-journal-grid>.pv-grid,.pv-journal-archives .wp-block-query .wp-block-post-template{grid-template-columns:repeat(var(--pv-journal-tablet),minmax(0,1fr))!important}.pv-empty-discovery>.pv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pv-magazine>.pv-card:not(:first-child){gap:14px}.pv-magazine>.pv-card:not(:first-child) h3{font-size:calc(1.1rem * var(--pv-heading-scale,1))}}
@media(max-width:767px){.pv-magazine{grid-template-columns:1fr}.pv-magazine>.pv-card:first-child{grid-row:auto}.pv-magazine>.pv-card:first-child>.pv-card-image{aspect-ratio:4/3;min-height:0}.pv-magazine>.pv-card:not(:first-child){grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr)}.pv-magazine>.pv-card:not(:first-child) .pv-card-image{min-height:120px}.pv-journal-grid>.pv-grid,.pv-journal-archives .wp-block-query .wp-block-post-template{grid-template-columns:repeat(var(--pv-journal-mobile),minmax(0,1fr))!important}.pv-footer-bottom{font-size:.75rem}.pv-footer-logo-surface img,.pv-footer-inverse-logo img{max-width:200px}.pv-empty-discovery>.pv-grid{gap:20px}.pv-empty-discovery h3{font-size:calc(1.2rem * var(--pv-heading-scale,1))}}

/* Header, body and rail share one centered article grid. */
.pv-single{width:100%;--pv-article-extent:calc(var(--pv-reading-width,800px) + 328px)}.pv-single>.pv-breadcrumbs,.pv-single>.wp-block-post-terms,.pv-single>.wp-block-post-title,.pv-single>.wp-block-post-excerpt,.pv-single>.pv-article-byline,.pv-single>.pv-article-image{max-width:var(--pv-article-extent)!important;margin-inline:auto!important;text-align:start}.pv-single>.wp-block-post-title,.pv-single>.wp-block-post-excerpt{box-sizing:border-box;padding-inline-end:328px}.pv-single>.pv-article-image img{max-width:var(--pv-reading-width,800px)}.pv-single>.pv-article-byline{box-sizing:border-box;padding-inline-end:328px}.pv-article-layout{max-width:var(--pv-article-extent)!important;grid-template-columns:minmax(0,var(--pv-reading-width,800px)) minmax(240px,280px);gap:48px;margin-inline:auto}.pv-sidebar-sticky{top:calc(var(--pv-reading-offset,0px) + 24px);max-height:calc(100dvh - var(--pv-reading-offset,0px) - 48px)}html.pv-reading-page{scroll-padding-top:var(--pv-reading-offset,0px)}.pv-article-body h2,.pv-article-body h3{scroll-margin-top:24px}.pv-toc ol{list-style:decimal-leading-zero;padding-inline-start:24px;margin:0}.pv-toc li{padding-inline-start:4px}.pv-toc li::marker{font-size:.72rem;color:var(--pv-primary)}.pv-toc a[aria-current=location]{font-weight:800;text-decoration:underline;text-underline-offset:4px}.pv-progress{top:var(--pv-reading-offset,0px);z-index:1000;height:4px}.pv-photo-host{position:relative;display:block}.pv-photo-host>.pv-photo-save{position:absolute;inset:12px 12px auto auto;margin:0;background:var(--pv-primary);color:var(--pv-on-primary);border:2px solid var(--pv-bg);box-shadow:0 2px 10px #0002;font-weight:800;gap:7px}.pv-photo-save svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.pv-adjacent-card>a{display:flex;align-items:center;gap:20px;min-height:100px}.pv-adjacent-card img{width:120px;max-height:100px;object-fit:cover;border-radius:8px}.pv-save:before{content:"";width:20px;height:20px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' d='M9 21l3-12m-2 9c8 3 12-8 5-11-5-2-10 4-6 7M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:1099px){.pv-single>.wp-block-post-title,.pv-single>.wp-block-post-excerpt,.pv-single>.pv-article-byline{padding-inline-end:0}.pv-single>.pv-breadcrumbs,.pv-single>.wp-block-post-terms,.pv-single>.wp-block-post-title,.pv-single>.wp-block-post-excerpt,.pv-single>.pv-article-byline,.pv-single>.pv-article-image{max-width:var(--pv-reading-width,800px)!important}.pv-photo-host>.pv-photo-save{inset:8px 8px auto auto;padding-inline:10px}}

.pv-header-sticky .wp-site-blocks>.wp-block-template-part:first-child{position:sticky;top:0;z-index:30}.pv-header-sticky .pv-header{position:relative;top:0}.admin-bar.pv-header-sticky .wp-site-blocks>.wp-block-template-part:first-child{top:32px}.admin-bar.pv-header-sticky .pv-header{top:0}.pv-adjacent-card>a{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px 16px}.pv-adjacent-card img{width:90px;grid-column:1;grid-row:1/span 3}.pv-adjacent-card a>span{grid-column:2;min-width:0;overflow-wrap:anywhere}
@media(max-width:782px){.admin-bar.pv-header-sticky .wp-site-blocks>.wp-block-template-part:first-child{top:46px}}
@media(max-width:600px){.admin-bar.pv-header-sticky .wp-site-blocks>.wp-block-template-part:first-child{top:0}}

.pv-single>.pv-progress{max-width:none!important;margin:0!important;left:0;right:0;width:100%}
