/* GLOBAL. editorial app shell. Desktop keeps the original navigation. */
.global-touch-nav { display: none; }
.global-latest { max-width: 1528px; margin: 0 auto; padding: 205px 64px 56px; }
.global-latest-heading { display: flex; gap: 24px; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.global-latest h1 { font-family: Fraunces, Georgia, serif; font-size: clamp(2.25rem,4vw,4.25rem); line-height: 1.08; letter-spacing: -.045em; margin: 10px 0 0; }
.global-latest-kicker { font-family: Inter, sans-serif; font-size: 12px; line-height: 1.5; font-weight: 600; color: hsl(var(--ember)); }
.global-latest-all { font-size: 14px; min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid hsl(var(--ember)); white-space: nowrap; }
.global-latest-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.global-latest-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); border-radius: 16px; transition: transform .2s, border-color .2s; }
.global-latest-card:hover { border-color: hsl(var(--ember)); transform: translateY(-3px); }
.global-latest-card > img { width: 100%; aspect-ratio: 1.6; height: auto; object-fit: cover; }
.global-latest-card-copy { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 20px; }
.global-latest-card h2 { font-family: Fraunces, Georgia, serif; font-size: 1.65rem; line-height: 1.12; letter-spacing: -.025em; }
.global-latest-summary { font-size: 14px; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.global-latest-byline { margin-top: auto; padding-top: 8px; font-size: 12px; line-height: 1.6; color: hsl(var(--muted-foreground)); }
@media (min-width: 768px) {
  .global-latest-card-un { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .global-latest-card-un > img { height: 100%; min-height: 280px; aspect-ratio: auto; }
  .global-latest-card-un .global-latest-card-copy { padding: clamp(24px, 3vw, 48px); justify-content: center; }
  .global-latest-card-un h2 { font-size: clamp(1.8rem, 2.8vw, 2.7rem); }
  .global-latest-card-un .global-latest-summary { font-size: 16px; }
}
[data-testid="section-hero"] { padding-top: 36px; }
.global-reader-toolbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 8px 16px; background: hsl(var(--background)/.96); backdrop-filter: blur(20px); border-bottom: 1px solid hsl(var(--border)); }
.global-reader-toolbar .archive-reader-close { position: static; width: auto; min-width: 44px; height: 44px; gap: 8px; padding: 0 12px; border-radius: 10px; box-shadow: none; font-size: 14px; }
.global-reader-toolbar > span { font-family: Inter, sans-serif; font-size: 12px; letter-spacing: .12em; color: hsl(var(--muted-foreground)); }
.global-reader-toolbar + div { margin-top: 0; }
.archive-reader-copy > div:not(:first-child) > p:first-child::first-letter { float: none; margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; }
@media (max-width: 1279px) {
  :root { --global-touch-header: calc(64px + env(safe-area-inset-top,0px)); }
  html { scroll-padding-top: calc(var(--global-touch-header) + 12px); }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom,0px)); }
  body.global-menu-open { overflow: hidden; }
  [data-testid="header-nav"] { top: 0 !important; padding-top: env(safe-area-inset-top,0px); background: hsl(var(--background)/.94); border-bottom: 1px solid hsl(var(--border)); backdrop-filter: blur(22px); }
  [data-testid="header-nav"] > div:first-child { padding-left: 20px; padding-right: 20px; }
  [data-testid="header-nav"] button { min-width: 44px; min-height: 44px; border-radius: 12px; }
  [data-testid="top-ticker-dock"] { position: absolute; top: var(--global-touch-header); z-index: 10; }
  [data-testid="modal-landmark-articles"], [data-testid="card-country-focus-nudge"], [data-testid="global-startup-animation"] { display: none !important; }
  .opening-reveal { display: none !important; }
  .scroll-blur-section, .section-blur-reveal, .site-clarity-reveal { filter: none !important; opacity: 1 !important; transform: none !important; }
  .global-touch-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); position: fixed; z-index: 59; left: 50%; bottom: 12px; transform: translateX(-50%); width: min(560px,calc(100% - 32px)); padding: 7px; border: 1px solid hsl(var(--border)); border-radius: 24px; background: hsl(var(--background)/.95); box-shadow: 0 12px 48px #0005; backdrop-filter: blur(24px); }
  .global-touch-nav a { display: flex; min-height: 54px; gap: 4px; flex-direction: column; align-items: center; justify-content: center; border-radius: 17px; font-size: 12px; line-height: 1.4; font-weight: 600; color: hsl(var(--muted-foreground)); transition: background .18s,color .18s; }
  .global-touch-nav a[aria-current="page"] { color: hsl(var(--ember)); background: hsl(var(--ember)/.12); }
  .global-touch-nav a:active { background: hsl(var(--ember)/.2); }
  .global-touch-nav a:focus-visible, .global-latest a:focus-visible { outline: 2px solid hsl(var(--ember)); outline-offset: 3px; }
  body.global-article-modal-open .global-touch-nav { display: none; }
  [data-testid="menu-mobile"] { position: fixed; inset: var(--global-touch-header) 0 auto; height: calc(100dvh - var(--global-touch-header)); max-height: calc(100dvh - var(--global-touch-header)); overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(96px + env(safe-area-inset-bottom,0px)); background: hsl(var(--background)); }
  [data-testid="menu-mobile"] > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 760px; margin: auto; }
  [data-testid="menu-mobile"] > div > :first-child, [data-testid="button-mobile-subscribe"] { grid-column: 1/-1; }
  [data-testid="menu-mobile"] a { display: flex; align-items: center; min-height: 64px; padding: 12px 16px; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 14px; font-size: 1.25rem; animation: none; opacity: 1; transform: none; }
  .search-panel-cinematic { top: calc(var(--global-touch-header) + 8px) !important; max-height: calc(100dvh - var(--global-touch-header) - 24px); overflow-y: auto; border-radius: 20px; }
  .search-panel-cinematic input, [data-testid="input-archive-search"] { font-size: 16px !important; min-width: 0; }
  .search-panel-cinematic button { min-height: 44px; }
  .global-latest { padding: calc(var(--global-touch-header) + 130px) 32px 36px; }
  .global-latest-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .global-latest-card > img { aspect-ratio: 1.9; }
  .global-latest-card h2 { font-size: 1.8rem; }
  [data-testid="page-home"] #magazine > div > div { grid-template-columns: 1fr; }
  [data-testid="page-home"] #magazine > div > div > * { grid-column: auto; }
  [data-testid="page-archive"] main { padding: calc(var(--global-touch-header) + 24px) 24px 32px; }
  [data-testid="page-archive"] [data-testid="link-back-home"] { display: none; }
  [data-testid="page-archive"] main > div > section:first-of-type { display: block; padding-bottom: 24px; }
  [data-testid="page-archive"] h1 { font-size: clamp(2.75rem,6vw,4.5rem); line-height: 1.02; }
  [data-testid="page-archive"] h1 br { display: none; }
  [data-testid="page-archive"] h1 span::before { content: ' '; }
  [data-testid="page-archive"] main > div > section:first-of-type > p { margin-top: 16px; font-size: 16px; }
  [data-testid="archive-live-shell"] { margin-top: 24px; }
  [data-testid="journalism-staff-stories-preview"] { display: none; }
  [data-testid="journalism-section-tabs"] { grid-template-columns: 1fr 1fr; }
  [data-testid="journalism-section-tabs"] > * { font-size: 12px; letter-spacing: .06em; }
  [data-testid="archive-live-shell"] label + div { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
  [data-testid^="button-archive-category-"] { flex-shrink: 0; min-height: 44px; font-size: 12px; border-radius: 24px; }
  [data-testid="archive-card-list"] { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  [data-testid="archive-card-list"] > button { grid-template-columns: 1fr; border-radius: 18px; }
  [data-testid="archive-card-list"] > button > div:first-child { height: 180px; min-height: 0; }
  [data-testid="archive-card-list"] h3 { font-size: 1.6rem; }
  [data-testid="archive-card-list"] button > div > div { font-size: 12px; letter-spacing: .03em; }
  .archive-reader-modal-backdrop { padding: 0; overscroll-behavior: contain; scroll-padding-top: 80px; }
  .archive-reader-modal { border: 0; overflow: visible; min-height: 100dvh; max-width: 900px; }
  .global-reader-toolbar { padding-top: calc(8px + env(safe-area-inset-top,0px)); }
  .archive-reader-modal > div:nth-child(2) { height: auto; min-height: 0; background: #050912; }
  .archive-reader-modal > div:nth-child(2) > img { height: clamp(220px,32vw,350px); opacity: 1; object-fit: cover; }
  .archive-reader-modal > div:nth-child(2) > div.absolute.inset-0 { display: none; }
  .archive-reader-modal > div:nth-child(2) > div:last-child { position: relative; padding: 24px 32px 32px; }
  #archive-reader-modal-title { font-size: clamp(2.2rem,4.8vw,3.4rem); line-height: 1.07; color: #f8f3e8; }
  .archive-reader-copy { font-size: 18px; line-height: 1.85; }
  .archive-reader-copy p { font-size: inherit; line-height: inherit; }
  [data-testid="archive-article-sources"] a { min-height: 44px; align-items: center; overflow-wrap: anywhere; }
}
@media (max-width: 767px) {
  .global-touch-nav { bottom: 0; width: 100%; padding: 6px 12px calc(6px + env(safe-area-inset-bottom,0px)); border-radius: 20px 20px 0 0; border-bottom: 0; }
  .global-latest { padding-left: 20px; padding-right: 20px; }
  .global-latest-heading { align-items: start; gap: 12px; flex-direction: column; margin-bottom: 20px; }
  .global-latest h1 { font-size: 2.4rem; max-width: 320px; }
  .global-latest-all { min-height: 32px; }
  .global-latest-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; margin: 0 -20px; padding: 0 20px 16px; scrollbar-width: thin; }
  .global-latest-card { flex: 0 0 87%; scroll-snap-align: start; }
  .global-latest-card > img { aspect-ratio: 1.75; }
  .global-latest-card h2 { font-size: 1.85rem; }
  .global-latest-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  [data-testid="section-hero"] { padding: 24px 20px 32px; }
  [data-testid="image-official-global-logo"] { width: 150px; margin-bottom: 20px; }
  [data-testid="text-hero-headline"] { font-size: 3rem; }
  [data-testid="section-hero"] .grid { gap: 24px; }
  [data-testid="page-archive"] main { padding-left: 16px; padding-right: 16px; }
  [data-testid="archive-live-shell"] > div > div:first-child { padding: 16px; border-radius: 18px; }
  [data-testid="archive-card-list"] { grid-template-columns: 1fr; gap: 12px; }
  [data-testid="archive-card-list"] > button { grid-template-columns: 96px minmax(0,1fr); }
  [data-testid="archive-card-list"] > button > div:first-child { height: 100%; min-height: 170px; }
  [data-testid="archive-card-list"] h3 { font-size: 1.35rem; line-height: 1.2; margin-top: 8px; }
  [data-testid="archive-card-list"] > button > div:last-child { padding: 14px; }
  .archive-reader-modal > div:nth-child(2) > div:last-child { padding: 20px 22px 28px; }
  .archive-reader-modal > div:last-child { padding: 24px 22px 48px; }
  #archive-reader-modal-title { font-size: 2.2rem; }
  .archive-reader-copy { font-size: 17px; line-height: 1.8; }
  [data-testid="menu-mobile"] > div { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .global-latest-card, .global-touch-nav a { transition: none; }
  .global-latest-card:hover { transform: none; }
  .scroll-blur-section, .section-blur-reveal, .site-clarity-reveal { filter: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  .ticker-track, .route-transition-shell { animation: none !important; transition: none !important; }
}
