/*
Theme Name: Up Sonder Journal
Author: Up Sonder
Description: A modern editorial home for Up Sonder's perspectives on drones, property, and the world from above.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: upsonder-journal
*/

:root {
  --usj-ink: #17242c;
  --usj-yellow: #ffd04b;
  --usj-paper: #f7f8f6;
  --usj-white: #fff;
  --usj-muted: #53616a;
  --usj-border: #dce3e6;
  --usj-radius: 20px;
  --usj-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body.usj-site { margin: 0; background: var(--usj-paper); color: var(--usj-ink); font-family: var(--usj-font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.usj-site, button, input, select, textarea { font-family: var(--usj-font); }
img { display: block; max-width: 100%; height: auto; }
svg { max-width: 100%; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; }
button, input[type="submit"] { cursor: pointer; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, a, input, textarea, select { -webkit-tap-highlight-color: rgba(255, 208, 75, .25); }
:focus-visible { outline: 3px solid #a37100; outline-offset: 5px; }
::selection { background: var(--usj-yellow); color: var(--usj-ink); }
h1, h2, h3, h4, h5, h6 { margin-top: 0; color: inherit; font-weight: 750; line-height: 1.15; overflow-wrap: break-word; }
p { margin-top: 0; }
.usj-wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus, .skip-link:focus { clip: auto !important; width: auto; height: auto; display: block; top: 12px; left: 12px; padding: 12px 20px; background: var(--usj-yellow); color: var(--usj-ink); z-index: 100000; border-radius: 8px; font-weight: 700; }
.skip-link { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.usj-eyebrow { margin: 0 0 16px; font-size: 11px; font-weight: 800; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; }
.usj-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 13px 22px; background: var(--usj-yellow); color: var(--usj-ink); border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 750; line-height: 1.4; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.usj-button:hover { background: #ffdc75; color: var(--usj-ink); transform: translateY(-2px); text-decoration: none; }
.usj-button:focus-visible { outline-color: #b37c00; }

/* A compact brand bar leaves the articles room to breathe. */
.usj-header { background: var(--usj-white); border-bottom: 1px solid var(--usj-border); }
.usj-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 96px; padding-block: 20px; }
.usj-brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; text-decoration: none; }
.usj-logo-up { width: auto; height: 44px; object-fit: contain; }
.usj-logo-sonder { width: auto; height: 44px; object-fit: contain; }
.usj-brand-label { margin-left: 15px; padding-left: 19px; border-left: 1px solid #c9d1d5; color: var(--usj-muted); font-size: 15px; font-weight: 500; line-height: 26px; letter-spacing: -.02em; }
.usj-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 28px; font-size: 13px; font-weight: 650; }
.usj-nav > a { text-decoration: none; }
.usj-nav > a:not(.usj-button) { padding-block: 10px; }
.usj-nav > a:not(.usj-button):hover, .usj-nav > a[aria-current="page"]:not(.usj-button) { text-decoration: underline; text-decoration-color: #bb8500; text-underline-offset: 7px; }
.usj-nav .usj-button { min-height: 43px; padding: 11px 17px; font-size: 13px; }

/* The journal opens with its point of view, followed by one lead story. */
.usj-intro { padding-block: 70px 45px; }
.usj-intro > .usj-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--usj-muted); }
.usj-dot { display: inline-block; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #c89513; }
.usj-intro-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; }
.usj-intro h1 { margin: 0; max-width: 800px; font-size: clamp(44px, 4.5vw, 60px); line-height: 1.06; letter-spacing: -.04em; font-weight: 750; }
.usj-intro h1 span { display: block; color: var(--usj-muted); }
.usj-intro-copy { max-width: 280px; flex: 0 1 280px; margin: 0 0 3px; color: var(--usj-muted); font-size: 15px; line-height: 1.75; }
.usj-feature { display: grid; grid-template-columns: 1.04fr 1fr; overflow: hidden; background: var(--usj-ink); color: var(--usj-white); border-radius: var(--usj-radius); }
.usj-feature-image { display: block; min-width: 0; min-height: 460px; overflow: hidden; background: #273b44; }
.usj-feature-image img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; transition: transform .5s ease; }
.usj-feature-image:hover img { transform: scale(1.025); }
.usj-feature-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 45px 42px; min-width: 0; }
.usj-feature-copy > .usj-eyebrow { margin-bottom: 24px; color: var(--usj-yellow); }
.usj-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--usj-muted); font-size: 12px; line-height: 1.6; }
.usj-feature .usj-meta { margin-bottom: 14px; color: #bdc8ce; }
.usj-feature h2 { margin: 0 0 20px; font-size: clamp(28px, 2.75vw, 38px); line-height: 1.14; letter-spacing: -.025em; }
.usj-feature h2 a { text-decoration: none; }
.usj-feature h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.usj-excerpt { color: var(--usj-muted); font-size: 15px; line-height: 1.75; }
.usj-feature .usj-excerpt { margin-bottom: 27px; color: #cbd4d9; }
.usj-feature :focus-visible, .usj-cta :focus-visible { outline-color: var(--usj-yellow); }

/* Topic controls and an image-led, responsive archive. */
.usj-library { margin-top: 76px; }
.usj-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.usj-section-head .usj-eyebrow { margin-bottom: 10px; color: var(--usj-muted); }
.usj-section-head h2 { margin: 0; font-size: clamp(30px, 3vw, 38px); letter-spacing: -.035em; }
.usj-section-head > p { max-width: 370px; margin: 0 0 3px; color: var(--usj-muted); font-size: 14px; line-height: 1.7; }
.usj-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; padding-block: 20px; border-top: 1px solid var(--usj-border); border-bottom: 1px solid var(--usj-border); }
.usj-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.usj-topics a { display: inline-flex; align-items: center; justify-content: center; min-height: 39px; padding: 8px 15px; border: 1px solid var(--usj-border); border-radius: 999px; color: var(--usj-muted); background: transparent; font-size: 12px; font-weight: 650; line-height: 1.5; text-decoration: none; transition: border-color .18s ease, background .18s ease; }
.usj-topics a:hover { background: var(--usj-white); border-color: #8e9ba2; color: var(--usj-ink); }
.usj-topics a.is-active, .usj-topics a[aria-current="page"] { background: var(--usj-ink); color: var(--usj-white); border-color: var(--usj-ink); }
.usj-search { display: flex; flex: 0 0 260px; align-items: stretch; border: 1px solid var(--usj-border); border-radius: 8px; background: var(--usj-white); }
.usj-search:focus-within { border-color: #a37100; box-shadow: 0 0 0 1px #a37100; }
.usj-search input[type="search"] { width: 100%; min-width: 0; min-height: 41px; padding: 10px 12px; border: 0; border-radius: 8px 0 0 8px; color: var(--usj-ink); background: transparent; font-size: 13px; }
.usj-search input[type="search"]::placeholder { color: #62717a; opacity: 1; }
.usj-search input[type="search"]:focus-visible { outline-offset: -3px; outline-width: 2px; }
.usj-search button { padding: 9px 13px; border: 0; border-left: 1px solid var(--usj-border); border-radius: 0 8px 8px 0; background: transparent; color: var(--usj-ink); font-size: 12px; font-weight: 700; }
.usj-search button:hover { background: #fff5d4; }
.usj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.usj-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--usj-white); border: 1px solid var(--usj-border); border-radius: 14px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.usj-card:hover { border-color: #bbc8ce; box-shadow: 0 10px 24px rgba(23, 36, 44, .055); transform: translateY(-3px); }
.usj-card-image { display: block; aspect-ratio: 1.6; overflow: hidden; background: #e9eeed; }
.usj-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.usj-card-image:hover img { transform: scale(1.035); }
.usj-image-placeholder { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; width: 100%; height: 100%; min-height: 220px; padding: 30px; background: #243d48; color: var(--usj-white); }
.usj-image-placeholder span:first-child { color: var(--usj-yellow); font-size: 29px; font-weight: 750; letter-spacing: -.035em; }
.usj-image-placeholder span:last-child { font-size: 12px; letter-spacing: .03em; }
.usj-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px; }
.usj-category { margin: 0 0 12px; color: var(--usj-muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.usj-category a { text-decoration: none; }
.usj-category a:hover { text-decoration: underline; }
.usj-card .usj-meta { margin-bottom: 12px; font-size: 11px; }
.usj-card-title { margin-bottom: 15px; font-size: 23px; font-weight: 720; line-height: 1.25; letter-spacing: -.015em; }
.usj-card-title a { text-decoration: none; }
.usj-card-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.usj-card .usj-excerpt { margin-bottom: 22px; font-size: 14px; line-height: 1.7; }
.usj-read-link { margin-top: auto; padding-top: 6px; font-size: 12px; font-weight: 750; text-decoration: none; }
.usj-read-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.usj-pagination { margin-block: 44px 8px; }
.usj-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.usj-pagination .page-numbers:not(ul) { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 9px 13px; border: 1px solid var(--usj-border); border-radius: 8px; background: var(--usj-white); font-size: 13px; font-weight: 650; text-decoration: none; }
.usj-pagination .page-numbers.current { background: var(--usj-ink); color: var(--usj-white); border-color: var(--usj-ink); }
.usj-pagination a.page-numbers:hover { background: var(--usj-yellow); color: var(--usj-ink); border-color: var(--usj-yellow); }
.usj-pagination .page-numbers.dots { background: transparent; border-color: transparent; }
.usj-empty { margin-block: 32px; padding: 48px; border: 1px solid var(--usj-border); border-radius: var(--usj-radius); background: var(--usj-white); }
.usj-empty h2 { font-size: 28px; letter-spacing: -.025em; }
.usj-empty p { color: var(--usj-muted); }
.usj-empty .usj-search { max-width: 440px; }
.usj-archive-header { padding-block: 64px 12px; }
.usj-archive-header h1 { margin-bottom: 16px; font-size: clamp(36px, 4.5vw, 54px); letter-spacing: -.04em; }
.usj-archive-header > p, .usj-archive-header .archive-description { max-width: 740px; color: var(--usj-muted); }
.usj-archive-header + .usj-library { margin-top: 28px; }

/* A clear route from useful reading to a real project. */
.usj-cta { position: relative; overflow: hidden; margin-top: 76px; margin-bottom: 76px; padding: 48px 52px; border-radius: var(--usj-radius); background: var(--usj-ink); color: var(--usj-white); }
.usj-cta .usj-eyebrow { color: var(--usj-yellow); }
.usj-cta h2 { max-width: 760px; margin-bottom: 16px; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.035em; }
.usj-cta p:not(.usj-eyebrow) { max-width: 680px; margin-bottom: 25px; color: #cbd4d9; font-size: 16px; line-height: 1.7; }
.usj-footer { padding-block: 42px 26px; background: var(--usj-white); border-top: 1px solid var(--usj-border); }
.usj-footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding-bottom: 32px; }
.usj-footer-top > div > p { max-width: 380px; margin-top: 14px; margin-bottom: 0; color: var(--usj-muted); font-size: 13px; }
.usj-footer-top > strong, .usj-footer-top > a { font-size: 21px; letter-spacing: -.035em; }
.usj-footer-brand { display: inline-flex; align-items: center; gap: 16px; font-size: 24px; font-weight: 750; letter-spacing: -.035em; text-decoration: none; }
.usj-footer-brand span { color: var(--usj-muted); font-size: 20px; font-weight: 400; }
.usj-footer-links { display: flex; flex-wrap: wrap; gap: 14px 25px; padding-top: 5px; font-size: 13px; }
.usj-footer-links a { text-decoration: none; }
.usj-footer-links a:hover { text-decoration: underline; }
.usj-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 23px; border-top: 1px solid var(--usj-border); color: var(--usj-muted); font-size: 11px; }
.usj-footer-bottom p { margin: 0; }

/* Reading layouts retain the original article's meaningful formatting. */
.usj-article { padding-top: 48px; }
.usj-article-header { max-width: 900px; margin: 0 auto 38px; text-align: center; }
.usj-back { display: inline-block; margin-bottom: 32px; color: var(--usj-muted); font-size: 12px; font-weight: 650; text-decoration: none; }
.usj-back:hover { text-decoration: underline; }
.usj-article-header .usj-eyebrow { margin-bottom: 16px; color: var(--usj-muted); }
.usj-article-header h1 { margin: 0 0 25px; font-size: clamp(36px, 4.1vw, 54px); line-height: 1.12; letter-spacing: -.04em; }
.usj-article-header .usj-meta { justify-content: center; gap: 10px; font-size: 13px; }
.usj-article-image { max-width: 1100px; margin: 0 auto 48px; }
.usj-article-image img { width: 100%; max-height: 660px; object-fit: cover; border-radius: var(--usj-radius); }
.usj-article-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--usj-radius); }
.usj-article-image figcaption { margin: 12px auto 0; color: var(--usj-muted); font-size: 12px; text-align: center; line-height: 1.6; }
.usj-reading { max-width: 720px; margin-inline: auto; color: #283840; font-size: 19px; line-height: 1.8; overflow-wrap: break-word; }
.usj-reading::after { display: table; clear: both; content: ""; }
.usj-reading > :first-child { margin-top: 0; }
.usj-reading > :last-child { margin-bottom: 0; }
.usj-reading p { margin-bottom: 1.4em; }
.usj-reading > p, .usj-reading > div > p { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; }
.usj-reading p > span[style*="font-size"], .usj-reading li > span[style*="font-size"] { font-size: inherit !important; }
.usj-reading h2 { margin: 1.75em 0 .7em; color: var(--usj-ink); font-size: 32px; line-height: 1.25; letter-spacing: -.035em; }
.usj-reading h3 { margin: 1.65em 0 .65em; color: var(--usj-ink); font-size: 25px; line-height: 1.3; letter-spacing: -.025em; }
.usj-reading h4 { margin: 1.5em 0 .6em; color: var(--usj-ink); font-size: 21px; line-height: 1.4; }
.usj-reading h5, .usj-reading h6 { margin: 1.5em 0 .6em; color: var(--usj-ink); font-size: 19px; line-height: 1.4; }
.usj-reading h2[style], .usj-reading h3[style] { font-family: inherit !important; }
.usj-reading a:not(.wp-element-button):not(.wp-block-button__link) { text-decoration-color: #b78000; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.usj-reading a:not(.wp-element-button):not(.wp-block-button__link):hover { text-decoration-color: var(--usj-ink); }
.usj-reading ul, .usj-reading ol { margin: 0 0 1.5em; padding-left: 1.5em; }
.usj-reading li { margin-block: .45em; padding-left: .2em; }
.usj-reading li > ul, .usj-reading li > ol { margin-block: .5em; }
.usj-reading blockquote, .usj-reading .wp-block-quote { margin: 1.7em 0; padding: 8px 0 8px 26px; border-left: 4px solid var(--usj-yellow); color: var(--usj-ink); font-size: 1.15em; line-height: 1.65; }
.usj-reading blockquote p:last-child { margin-bottom: 0; }
.usj-reading cite { display: block; margin-top: 12px; color: var(--usj-muted); font-size: 14px; font-style: normal; }
.usj-reading .wp-block-pullquote { margin-block: 36px; padding: 24px 0; border-block: 1px solid var(--usj-border); }
.usj-reading .wp-block-pullquote blockquote { padding: 0; border: 0; }
.usj-reading figure, .usj-reading .wp-caption { max-width: 100%; margin-block: 32px; }
.usj-reading figure img, .usj-reading > p > img, .usj-reading .wp-caption img { border-radius: 10px; }
.usj-reading figcaption, .usj-reading .wp-caption-text { margin-top: 10px; color: var(--usj-muted); font-size: 13px; line-height: 1.6; text-align: center; }
.usj-reading iframe, .usj-reading video, .usj-reading embed, .usj-reading object { max-width: 100%; }
.usj-reading iframe[src*="youtube"], .usj-reading iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.usj-reading .wp-block-embed__wrapper { overflow: hidden; }
.usj-reading audio { width: 100%; }
.usj-reading pre { overflow-x: auto; padding: 22px; border: 1px solid var(--usj-border); border-radius: 8px; background: #eff2f0; font-size: 14px; line-height: 1.65; white-space: pre; }
.usj-reading code, .usj-reading kbd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; }
.usj-reading :not(pre) > code { padding: .15em .3em; border-radius: 3px; background: #e9eeeb; }
.usj-reading hr { margin: 40px 0; border: 0; border-top: 1px solid var(--usj-border); }
.usj-reading .wp-block-table { overflow-x: auto; }
.usj-reading table { width: 100%; margin-block: 26px; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.usj-reading th, .usj-reading td { padding: 12px 14px; border: 1px solid var(--usj-border); text-align: left; vertical-align: top; }
.usj-reading th { background: #eef2f0; color: var(--usj-ink); font-weight: 750; }
.usj-reading .wp-block-table table { margin-block: 0; }
.usj-reading .wp-block-button__link, .usj-reading .wp-element-button { display: inline-block; padding: 12px 22px; background: var(--usj-yellow); color: var(--usj-ink); border-radius: 8px; font-size: 15px; font-weight: 750; text-decoration: none; }
.usj-reading .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 26px; }
.usj-reading .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; margin-block: 28px; }
.usj-reading .wp-block-column { flex: 1 1 0; min-width: 0; }
.usj-reading .wp-block-separator { border-color: var(--usj-border); }
.usj-reading .wp-block-cover { border-radius: 12px; overflow: hidden; }
.usj-reading .alignleft { float: left; margin: 7px 26px 18px 0; max-width: 48%; }
.usj-reading .alignright { float: right; margin: 7px 0 18px 26px; max-width: 48%; }
.usj-reading .aligncenter { clear: both; display: block; margin-inline: auto; }
.usj-reading .alignwide { max-width: calc(100vw - 80px); }
.usj-reading .alignfull { width: 100%; max-width: 100%; }
.usj-reading .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 28px; }
.usj-reading .gallery-item { width: auto; margin: 0; }
.usj-reading .gallery-columns-1 { grid-template-columns: 1fr; }
.usj-reading .gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.usj-reading .gallery-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.usj-reading .gallery img { width: 100%; height: auto; }
.usj-reading .wp-block-gallery { gap: 16px; }
.usj-reading .wp-block-gallery figure { margin-block: 0; }
.usj-reading .has-text-align-center { text-align: center; }
.usj-reading .has-text-align-right { text-align: right; }
.usj-reading .has-text-align-left { text-align: left; }
.usj-reading .page-links { margin-block: 32px; font-size: 15px; }
.usj-reading .page-links a { margin-inline: 5px; }
.usj-post-end { max-width: 720px; margin: 45px auto 0; padding-top: 24px; border-top: 1px solid var(--usj-border); color: var(--usj-muted); font-size: 13px; }
.usj-post-end a { display: inline-block; margin: 0 7px 8px 0; padding: 5px 10px; border: 1px solid var(--usj-border); border-radius: 5px; text-decoration: none; }
.usj-post-end a:hover { background: var(--usj-white); border-color: #8e9ba2; }
.usj-post-tags > .usj-eyebrow { display: block; margin-bottom: 14px; }
.usj-post-end > .usj-back { margin-top: 12px; margin-bottom: 0; padding: 8px 0; border: 0; }
.usj-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 40px auto 0; }
.usj-post-nav > a, .usj-post-nav .nav-previous, .usj-post-nav .nav-next { padding: 23px; border: 1px solid var(--usj-border); border-radius: 12px; background: var(--usj-white); font-size: 16px; line-height: 1.5; text-decoration: none; }
.usj-post-nav a { text-decoration: none; }
.usj-post-nav a:hover { text-decoration: underline; }
.usj-post-nav span { display: block; }
.usj-post-nav .usj-eyebrow, .usj-post-nav small { display: block; margin-bottom: 8px; color: var(--usj-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.usj-post-nav .navigation, .usj-post-nav .nav-links { display: contents; }
.usj-related { margin-top: 76px; }
.usj-related > h2 { margin-bottom: 28px; font-size: 32px; letter-spacing: -.035em; }

/* Native WordPress comments and forms. */
.usj-comments { max-width: 720px; margin: 64px auto 0; }
.usj-comments h2, .usj-comments .comment-reply-title { font-size: 27px; letter-spacing: -.03em; }
.usj-comments .comment-list { padding: 0; list-style: none; }
.usj-comments .comment-list .children { padding-left: 24px; list-style: none; }
.usj-comments .comment-body { padding-block: 25px; border-bottom: 1px solid var(--usj-border); }
.usj-comments .comment-author { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.usj-comments .avatar { width: 36px; height: 36px; border-radius: 50%; }
.usj-comments .comment-metadata { margin-block: 8px 14px; color: var(--usj-muted); font-size: 12px; }
.usj-comments .comment-metadata a { text-decoration: none; }
.usj-comments .comment-content { font-size: 16px; }
.usj-comments .reply { font-size: 12px; font-weight: 700; }
.usj-comments .comment-respond { margin-top: 38px; }
.usj-comments .comment-notes, .usj-comments .logged-in-as, .usj-comments .comment-form-cookies-consent { color: var(--usj-muted); font-size: 13px; }
.usj-comments label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 650; }
.usj-comments input:not([type="checkbox"]):not([type="submit"]), .usj-comments textarea, .usj-reading .post-password-form input[type="password"] { width: 100%; max-width: 100%; padding: 12px 14px; border: 1px solid #bdc9cf; border-radius: 8px; background: var(--usj-white); color: var(--usj-ink); font-size: 16px; }
.usj-comments textarea { min-height: 180px; resize: vertical; }
.usj-comments input[type="checkbox"] { margin-right: 8px; accent-color: var(--usj-ink); }
.usj-comments .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.usj-comments input[type="submit"], .usj-reading .post-password-form input[type="submit"] { padding: 12px 20px; border: 0; border-radius: 8px; background: var(--usj-ink); color: var(--usj-white); font-size: 14px; font-weight: 700; }
.usj-comments input[type="submit"]:hover { background: #344a56; }
.usj-comments #cancel-comment-reply-link { margin-left: 12px; font-size: 12px; font-weight: 500; }
.bypostauthor > .comment-body { border-left: 3px solid var(--usj-yellow); padding-left: 18px; }
.sticky .usj-category::before { content: "Featured · "; }

@media (min-width: 1120px) {
  .usj-reading .alignwide { width: 940px; margin-left: -110px; }
}

@media (max-width: 1100px) {
  .usj-header-inner { gap: 20px; }
  .usj-nav { gap: 18px; }
  .usj-intro-row { gap: 28px; }
  .usj-intro-copy { max-width: 245px; }
  .usj-feature-copy { padding: 34px 30px; }
  .usj-feature h2 { font-size: 31px; }
  .usj-grid { gap: 22px; }
  .usj-card-copy { padding: 21px; }
  .usj-card-title { font-size: 21px; }
  .usj-tools { flex-wrap: wrap; }
  .usj-search { flex-basis: 275px; }
}

@media (max-width: 860px) {
  .usj-wrap { width: calc(100% - 48px); }
  .usj-header-inner { flex-wrap: wrap; padding-block: 20px 17px; }
  .usj-nav { gap: 24px; }
  .usj-intro { padding-block: 48px 34px; }
  .usj-intro-row { display: block; }
  .usj-intro h1 { font-size: 52px; }
  .usj-intro-copy { max-width: 540px; margin-top: 22px; }
  .usj-feature { grid-template-columns: 1fr; }
  .usj-feature-image { min-height: 0; aspect-ratio: 16 / 9; }
  .usj-feature-image img { min-height: 0; }
  .usj-feature-copy { padding: 34px 35px 38px; }
  .usj-feature h2 { max-width: 680px; font-size: 36px; }
  .usj-feature-copy > .usj-eyebrow { margin-bottom: 18px; }
  .usj-feature .usj-excerpt { max-width: 650px; }
  .usj-library, .usj-related { margin-top: 54px; }
  .usj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usj-section-head { align-items: flex-start; }
  .usj-section-head > p { max-width: 280px; }
  .usj-cta { margin-block: 54px; padding: 37px; }
  .usj-article-image { margin-bottom: 35px; }
  .usj-article-header h1 { font-size: 44px; }
  .usj-reading .alignwide { max-width: 100%; }
}

@media (max-width: 600px) {
  .usj-wrap { width: calc(100% - 36px); }
  .usj-header-inner { gap: 17px; padding-block: 18px 14px; }
  .usj-brand { gap: 4px; }
  .usj-logo-up, .usj-logo-sonder { height: 38px; }
  .usj-brand-label { margin-left: 11px; padding-left: 14px; font-size: 14px; line-height: 23px; }
  .usj-nav { width: 100%; justify-content: space-between; gap: 8px 12px; font-size: 12px; }
  .usj-nav .usj-button { min-height: 38px; padding: 9px 12px; font-size: 12px; }
  .usj-intro { padding-block: 35px 28px; }
  .usj-eyebrow { font-size: 10px; }
  .usj-intro h1 { font-size: 40px; line-height: 1.08; letter-spacing: -.04em; }
  .usj-intro-copy { margin-top: 19px; font-size: 14px; line-height: 1.7; }
  .usj-feature { border-radius: 15px; }
  .usj-feature-image { aspect-ratio: 1.5; }
  .usj-feature-copy { padding: 27px 24px 29px; }
  .usj-feature h2 { margin-bottom: 16px; font-size: 29px; line-height: 1.16; }
  .usj-feature .usj-excerpt { margin-bottom: 22px; font-size: 14px; }
  .usj-feature .usj-meta { font-size: 11px; }
  .usj-button { min-height: 44px; padding: 12px 18px; font-size: 13px; }
  .usj-library, .usj-related { margin-top: 42px; }
  .usj-section-head { display: block; margin-bottom: 22px; }
  .usj-section-head h2 { font-size: 30px; }
  .usj-section-head > p { max-width: none; margin-top: 13px; }
  .usj-tools { gap: 17px; margin-bottom: 24px; padding-block: 17px; }
  .usj-topics { gap: 7px; }
  .usj-topics a { min-height: 38px; padding-inline: 12px; font-size: 11px; }
  .usj-search { flex: 1 1 100%; }
  .usj-search input[type="search"] { font-size: 16px; }
  .usj-search button { padding-inline: 17px; }
  .usj-grid { grid-template-columns: 1fr; gap: 23px; }
  .usj-card-image { aspect-ratio: 1.65; }
  .usj-card-copy { padding: 23px; }
  .usj-card-title { font-size: 24px; }
  .usj-card .usj-excerpt { font-size: 14px; }
  .usj-read-link { padding-block: 7px 3px; font-size: 13px; }
  .usj-pagination { margin-top: 32px; }
  .usj-pagination .page-numbers:not(ul) { min-width: 38px; min-height: 40px; padding-inline: 11px; font-size: 12px; }
  .usj-cta { margin-block: 42px; padding: 29px 25px 32px; border-radius: 15px; }
  .usj-cta h2 { font-size: 31px; line-height: 1.15; }
  .usj-cta p:not(.usj-eyebrow) { font-size: 14px; }
  .usj-footer { padding-block: 30px 22px; }
  .usj-footer-top { display: block; padding-bottom: 24px; }
  .usj-footer-links { margin-top: 23px; gap: 14px 23px; }
  .usj-footer-bottom { display: block; font-size: 11px; }
  .usj-footer-bottom > :last-child { display: block; margin-top: 8px; }
  .usj-article { padding-top: 28px; }
  .usj-article-header { margin-bottom: 27px; text-align: left; }
  .usj-back { margin-bottom: 25px; }
  .usj-article-header h1 { margin-bottom: 20px; font-size: 36px; line-height: 1.13; letter-spacing: -.035em; }
  .usj-article-header .usj-meta { justify-content: flex-start; gap: 8px; font-size: 12px; }
  .usj-article-image { margin-bottom: 29px; }
  .usj-article-image img { border-radius: 12px; }
  .usj-article-image figcaption { text-align: left; font-size: 11px; }
  .usj-reading { font-size: 18px; line-height: 1.8; }
  .usj-reading h2 { font-size: 28px; }
  .usj-reading h3 { font-size: 23px; }
  .usj-reading h4 { font-size: 20px; }
  .usj-reading blockquote { padding-left: 20px; font-size: 1.08em; }
  .usj-reading .alignleft, .usj-reading .alignright { float: none; max-width: 100%; margin: 24px auto; }
  .usj-reading .wp-block-column { flex-basis: 100%; }
  .usj-reading .gallery, .usj-reading .gallery-columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .usj-reading .gallery-columns-1 { grid-template-columns: 1fr; }
  .usj-reading table { display: block; overflow-x: auto; font-size: 13px; }
  .usj-reading th, .usj-reading td { min-width: 110px; padding: 10px; }
  .usj-reading .wp-block-table table { display: table; }
  .usj-post-end { margin-top: 32px; }
  .usj-post-nav { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .usj-post-nav > a, .usj-post-nav .nav-previous, .usj-post-nav .nav-next { padding: 20px; }
  .usj-comments { margin-top: 42px; }
  .usj-comments .comment-list .children { padding-left: 15px; }
  .usj-empty { padding: 28px 23px; }
  .usj-archive-header { padding-top: 38px; }
  .usj-archive-header h1 { font-size: 36px; }
}

@media (max-width: 360px) {
  .usj-wrap { width: calc(100% - 28px); }
  .usj-intro h1 { font-size: 36px; }
  .usj-nav { gap: 7px; }
  .usj-nav .usj-button { padding-inline: 9px; }
  .usj-feature-copy { padding-inline: 21px; }
  .usj-article-header h1 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .usj-card:hover, .usj-button:hover, .usj-feature-image:hover img, .usj-card-image:hover img { transform: none; }
}

@media print {
  body.usj-site { background: #fff; color: #000; font-size: 11pt; }
  .usj-wrap { width: 100%; max-width: none; }
  .usj-header, .usj-footer, .usj-cta, .usj-tools, .usj-pagination, .usj-related, .usj-comments, .usj-post-nav, .usj-back, .skip-link, #wpadminbar { display: none !important; }
  .usj-article { padding-top: 0; }
  .usj-article-header { max-width: none; text-align: left; }
  .usj-article-header h1 { font-size: 27pt; }
  .usj-article-header .usj-meta { justify-content: flex-start; }
  .usj-reading { max-width: none; color: #000; font-size: 11pt; line-height: 1.6; }
  .usj-reading h2 { font-size: 19pt; }
  .usj-reading h3 { font-size: 15pt; }
  .usj-reading .alignwide { width: auto; margin-inline: 0; }
  .usj-article-image { max-width: 75%; margin-bottom: 24px; }
  .usj-article-image img { max-height: 300px; border-radius: 0; object-fit: contain; }
  h1, h2, h3, h4, figure, img { break-inside: avoid; }
  h1, h2, h3, h4 { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  a { color: #000; }
  .usj-feature, .usj-card { background: #fff; color: #000; box-shadow: none; }
  .usj-feature { border: 1px solid #ddd; }
  .usj-feature .usj-excerpt, .usj-feature .usj-meta, .usj-feature .usj-eyebrow { color: #444; }
  .usj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usj-card { break-inside: avoid; }
}
