/* ----- Copied from src/index.css ----- */
:root {
  --color-red: red;
  --font-headline: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-meta: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --font-masthead: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-article-headline:
    "Playfair Display", Georgia, "Times New Roman", serif;
}

/* Base font size by viewport (em-based sizing); default for > 2560px */
html {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  html {
    font-size: 1.375rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 0.875rem;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: #fff;
  color: #000;
  font-family: var(--font-meta);
  font-size: 1em;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus,
a:focus-visible,
button:focus,
button:focus-visible {
  outline: none;
}

/* ----- Copied from src/App.css ----- */
/* Layout */
.app {
  max-width: 52em;
  margin: 0 auto;
  padding: 1.75em 0.7em;
}

/* Article page: same width as .app but no top/bottom padding */
.app-article {
  max-width: 38em;
  margin: 0 auto;
  padding: 0 1.25em;
}

/* Header */
.site-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header-outer {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  max-width: 26em;
  margin: 0 auto;
  padding: 1.25em 1.25em 1.1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tradingview-market-strip {
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.tradingview-market-widget {
  width: 100%;
  box-sizing: border-box;
  max-width: 52em;
  margin: 0 auto;
  padding: 0.35em 1.4em 0.1em;
}

.tradingview-market-widget tv-ticker-tape {
  display: block;
  width: 100%;
}

/* Full-bleed strip; __inner uses same em basis as .app (do not set small font-size on ancestors). */
.market-ticker {
  width: 100%;
  box-sizing: border-box;
  max-width: 52em;
  margin: 0 auto;
  padding: 0.5em 0.7em 0.5em 1.4em;
  font-family: var(--font-headline);
}

.market-ticker__inner {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  margin-left: -23px;
}

.market-ticker__inner::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.market-ticker__inner.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.market-ticker__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.65em 1.35em;
  width: max-content;
  font-size: 14px;
  line-height: 1.2;
}

.market-ticker__item {
  display: flex;
  align-items: baseline;
  gap: 0.35em;
  flex: 0 0 auto;
  white-space: nowrap;
}

.market-ticker__name {
  font-weight: 700;
  color: #000;
}

.market-ticker__quote {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.market-ticker__quote--up {
  color: #0f6b38;
}

.market-ticker__quote--down {
  color: #b42318;
}

iframe {
  border: none !important;
  border: 0 !important;
}

.tv-symbol-logo {
  display: none !important;
}

.market-ticker__arrow {
  font-size: 0.85em;
  line-height: 1;
}

.page-logo-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.page-logo {
  display: block;
  width: 15em;
  height: auto;
}

.masthead {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  cursor: pointer;
  border: 0;
  font: inherit;
  font-weight: 400;
  text-align: center;
  color: #000;
  font-family: var(--font-masthead);
}

.masthead__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 0.65em 0.2em;
  margin-bottom: 0.08em;
}

.masthead__ornament {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  width: min(100%, 2.25em);
}

.masthead__ornament--left {
  justify-self: end;
}

.masthead__ornament--right {
  justify-self: start;
}

.masthead__line {
  display: block;
  height: 0.05em;
  background: #000;
  width: 100%;
}

.masthead__kicker {
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.masthead__title {
  display: block;
  margin: 0;
  font-size: 2em;
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  font-variant-numeric: lining-nums;
}

.masthead__bottom-rule {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  margin-top: 0.2em;
}

.masthead__bottom-rule .masthead__line {
  max-width: none;
}

.page-timestamp {
  font-family: var(--font-meta);
  font-size: 0.6em;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #696868;
  margin: 1.5em 0 0;
}

.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75em;
  font-family: var(--font-meta);
  font-size: 0.7em;
  color: #696868;
  padding: 2em 1em;
}

.page-footer-copyright {
  margin: 0;
}

.page-footer-privacy {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

@media (hover: hover) {
  .page-footer-privacy:hover {
    opacity: 0.75;
  }
}

/* Tips + main sources (above footer) */
.site-tips-sources {
  margin-top: 2.5em;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 0.5em;
  margin-bottom: 0;
  font-family: var(--font-meta);
  font-size: 0.7em;
  color: #696868;
  line-height: 1.5;
  padding: 2em 1em 0 1em;
}

.site-tips-sources__tip {
  margin: 0 0 1.5em;
  color: #444;
}

.site-tips-sources__tip a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (hover: hover) {
  .site-tips-sources__tip a:hover {
    opacity: 0.75;
  }
}

.site-tips-sources__heading {
  margin: 0 0 0.85em;
  font-family: var(--font-headline);
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
}

.site-tips-sources__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11em, 1fr));
  gap: 0.45em 1.25em;
}

.site-tips-sources__list li {
  margin: 0;
}

.site-tips-sources__list a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (hover: hover) {
  .site-tips-sources__list a:hover {
    opacity: 0.75;
  }
}

.main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0 1.25em;
  align-items: start;
}

.main-grid-search {
  width: 100%;
}

.main-grid-search__field {
  display: flex;
  align-items: center;
  gap: 0.5em;
  min-height: 2.15em;
  margin: 0;
  padding: 0.55em 0 0.35em;
  border: none;
  border-radius: 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.14);
  background: transparent;
  transition: border-color 0.22s ease;
}

.main-grid-search__field:focus-within {
  border-bottom-color: #111;
}

.main-grid-search__icon {
  display: flex;
  flex-shrink: 0;
  color: rgba(0, 0, 0, 0.32);
  pointer-events: none;
  transition: color 0.22s ease;
}

.main-grid-search__field:focus-within .main-grid-search__icon {
  color: rgba(0, 0, 0, 0.5);
}

.main-grid-search__input {
  flex: 1;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0.1em 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-headline);
  font-size: 0.72em;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #111;
  caret-color: #111;
  -webkit-appearance: none;
  appearance: none;
}

.main-grid-search__input::-webkit-search-cancel-button,
.main-grid-search__input::-webkit-search-decoration {
  -webkit-appearance: none;
}

.main-grid-search__input:focus,
.main-grid-search__input:focus-visible,
.main-grid-search__input:active {
  outline: none;
}

.main-grid-search__input::placeholder {
  color: rgba(0, 0, 0, 0.38);
  font-weight: 400;
  letter-spacing: 0.03em;
}

.main-grid-search__clear {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.75em;
  height: 1.75em;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}

/* [hidden] must win over display:flex — otherwise the clear button stays visible */
.main-grid-search__clear[hidden] {
  display: none;
}

.main-grid-search__clear:hover {
  color: #111;
  background: rgba(0, 0, 0, 0.05);
}

.main-grid-search__clear:focus,
.main-grid-search__clear:focus-visible,
.main-grid-search__clear:active {
  outline: none;
}

.opinion-header {
  margin-top: 1.75em;
  margin-bottom: 1em;
  border-bottom: 2px solid #111;
  color: #111;
}

.opinion-wrapper {
  margin-bottom: 1.5em;
}

.opinion-wrapper a {
  color: #18557d;
  text-decoration: underline;
  text-decoration-color: #18557d;
  font-size: 22px;
  margin-bottom: 1em;
  display: inline-block;
}

.open-forum {
  font-size: 20px;
}

.open-forum-image {
  width: 200px;
}

.open-forum a {
  color: #18557d;
  text-decoration: underline;
  text-decoration-color: #18557d;
  display: inline-block;
}

/* ----- Daily open thread (Disqus) ----- */
.masthead-home-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.app-open-thread {
  padding-top: 1.25em;
}

.open-thread-main {
  max-width: 52em;
  margin: 0 auto;
  padding: 0 0.7em 2.5em;
}

.open-thread-hero {
  position: relative;
  padding: 2em 0 2.5em 1.15em;
  margin-bottom: 0.5em;
  border-left: 4px solid #18557d;
  background: linear-gradient(
    90deg,
    rgba(24, 85, 125, 0.06) 0%,
    rgba(255, 255, 255, 0) 55%
  );
}

.open-thread-hero__label {
  font-family: var(--font-headline);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #696868;
  margin: 0 0 0.65em;
}

.open-thread-hero__title {
  font-family: var(--font-masthead);
  font-size: clamp(1.6rem, 4.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 0.5em;
  max-width: 14ch;
}

.open-thread-hero__date {
  font-family: var(--font-meta);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  margin: 0 0 1em;
}

.open-thread-hero__dek {
  font-family: var(--font-meta);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #3a3a3a;
  max-width: 36em;
  margin: 0;
}

.open-thread-hero__rule {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1.35em;
  max-width: 12em;
}

.open-thread-hero__rule-line {
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.18);
}

.open-thread-hero__rule-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #18557d;
  flex-shrink: 0;
}

.open-thread-back {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #18557d;
  text-decoration: underline;
  text-decoration-color: rgba(24, 85, 125, 0.45);
  text-underline-offset: 3px;
  margin-bottom: 1.25em;
}

.open-thread-disqus-zone {
  margin-top: 2.5em;
  padding-top: 2em;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.open-thread-disqus-panel {
  padding: 1.75em 1.35em 2.25em;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fafafa;
  box-shadow: 0 18px 48px -28px rgba(0, 0, 0, 0.22);
}

.open-thread-disqus-heading {
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #696868;
  margin: 0 0 1.25em;
}

#disqus_thread {
  min-height: 12rem;
}

@media (max-width: 768px) {
  .open-thread-main {
    padding-left: 1em;
    padding-right: 1em;
  }

  .open-thread-hero {
    padding-right: 0.5em;
  }

  .open-thread-disqus-panel {
    padding: 1.25em 1em 1.75em;
  }
}

@media (hover: hover) {
  .masthead-home-link:hover .masthead__title {
    opacity: 0.82;
  }

  .open-thread-back:hover {
    opacity: 0.75;
  }

  .main-grid-search__clear:focus-visible {
    color: #333;
    background: rgba(0, 0, 0, 0.06);
  }

  .opinion-wrapper a:hover {
    opacity: 0.7;
  }
}

.article-post {
  margin-bottom: 1.75em;
  padding: 0 0.7em 0 0.7em;
}

.article-post-link {
  font-family: var(--font-article-headline);
  font-size: 32px;
  margin-bottom: 5px;
  display: inline-block;
  letter-spacing: -0.2px;
  font-weight: 600;
  color: #111;
}

.article-post-link.highlight {
  color: red;
  text-decoration: none;
}

.article-post-meta {
  font-size: 16px;
  color: #696868;
  margin-bottom: 24px;
}

.article-post-meta a {
  color: #18557d;
  text-decoration: underline;
  text-decoration-color: #18557d;
}

.article-post-content {
  color: #333;
  font-size: 22px;
}

@media (hover: hover) {
  .article-post-link:hover {
    opacity: 0.7;
  }
}

@media (max-width: 1200px) {
  .article-post-link {
    font-size: 28px;
  }

  .article-post-content {
    font-size: 20px;
  }

  .opinion-header {
    font-size: 20px;
  }

  .opinion-wrapper a {
    font-size: 18px;
  }

  .app {
    padding: 1.5em 0.7em;
  }
}

@media (max-width: 969px) {
  .article-post-link {
    font-size: 24px;
  }

  .article-post-content {
    font-size: 18px;
  }

  .opinion-header {
    font-size: 18px;
  }

  .opinion-wrapper a {
    font-size: 16px;
  }

  .app {
    padding: 1em 0;
  }
}

@media (max-width: 768px) {
  .main-grid {
    display: block;
  }

  .right {
    display: none;
  }

  .article-post {
    padding: 0 1em;
  }

  .article-post-meta {
    font-size: 14px;
    margin-bottom: 18px;
  }
}

/* Single post list */
.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.big-story {
  margin-bottom: 2.25em;
}

.big-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.75em 2em;
  align-items: center;
}

.big-story__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5em 0.5em 0.5em 0;
}

.big-story__kicker {
  font-family: var(--font-headline);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 0.45em;
}

.big-story__kicker-rule {
  width: 2.25rem;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  margin: 0 0 1em;
}

.big-story__headline.article-post-link {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.12;
  max-width: 22ch;
  color: #111;
}

.big-story__byline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65em;
  margin-top: 1.35em;
}

.big-story__avatars {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.big-story__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 50%;
  font-family: var(--font-headline);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #374151;
  background: #e5e7eb;
  border: 2px solid #fff;
  margin-left: -0.55rem;
  flex-shrink: 0;
}

.big-story__avatar:first-child {
  margin-left: 0;
}

.big-story__names {
  font-family: var(--font-meta);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #9ca3af;
  margin: 0;
  line-height: 1.35;
  max-width: 20rem;
}

.big-story__visual {
  min-width: 0;
}

.big-story__image-wrap {
  position: relative;
  width: 100%;
}

.big-story__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 70% center;
  border-radius: 0.25rem;
}

@media (max-width: 768px) {
  .big-story {
    padding: 0 1em;
  }

  .big-story__grid {
    grid-template-columns: 1fr;
    gap: 1.25em;
  }

  .big-story__visual {
    order: -1;
  }

  .big-story__text {
    padding: 0 0.25em;
  }

  .big-story__headline.article-post-link {
    max-width: none;
  }

  .big-story__names {
    font-size: 14px;
  }

  .big-story__kicker,
  .big-story__kicker-rule {
    display: none;
  }
}

.home-featured-section {
  margin-bottom: 2em;
}

.home-featured-list > *:last-child {
  margin-bottom: 0;
}

/* ----- Normal list (bottom links) ----- */
.normal-link {
  display: inline-block;
  padding: 0.7em 1em;
  cursor: pointer;
  color: inherit;
  position: relative;
  text-decoration: underline;
  width: auto;
  max-width: 100%;
}

.normal-headline {
  font-family: var(--font-headline);
  font-size: 0.7em;
  font-weight: 600;
  line-height: 1.35;
  color: #111;
  margin: 0;
  transition: text-decoration 0.15s ease;
}

@media (hover: hover) {
  .normal-link.normal-headline:hover,
  .normal-link.normal-headline:focus-visible {
    opacity: 0.7;
  }
}

.normal-link .normal-image {
  width: 100%;
  max-width: 32rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  margin-bottom: 0.75em;
  border-radius: 6px;
}

.normal-link:has(.normal-image-attribution) .normal-image {
  margin-bottom: 0.35em;
}

.normal-link .normal-image-attribution {
  font-family: var(--font-meta);
  font-size: 0.65em;
  color: #6b7280;
  margin: 0 0 0.75em 0;
  line-height: 1.4;
}

.featured-link {
  cursor: pointer;
  color: inherit;
  position: relative;
  text-decoration: underline;
  width: auto;
  max-width: 100%;
  padding: 2px 0;
}

.featured-headline {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2em;
}

.highlight {
  color: var(--color-red);
  text-decoration: underline;
  text-decoration-color: var(--color-red);
}

@media (hover: hover) {
  .featured-link.featured-headline:hover,
  .featured-link.featured-headline:focus-visible {
    opacity: 0.7;
  }
  .highlight:hover,
  .highlight:focus-visible {
    opacity: 0.7;
    color: var(--color-red);
    text-decoration-color: var(--color-red);
  }
}

.featured-link-wrapper {
  text-align: center;
  padding: 0.5em;
}

.home-featured-list .featured-image-container {
  margin: 0 auto;
}

.home-featured-list .featured-image-wrap {
  position: relative;
  width: 100%;
}

.home-featured-list .featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.featured-attribution-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .featured-attribution-btn:hover {
    background: rgba(0, 0, 0, 0.8);
  }
}

@media (hover: hover) and (pointer: fine) {
  .featured-attribution-btn:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
  }
}

.image-attribution-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  animation: image-attribution-modal-fade-in 0.2s ease;
}

.image-attribution-modal-overlay[hidden] {
  display: none;
}

@keyframes image-attribution-modal-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.image-attribution-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  padding: 2rem;
  animation: image-attribution-modal-slide-in 0.25s ease;
}

@keyframes image-attribution-modal-slide-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.image-attribution-modal-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 1rem;
  padding-right: 2.75rem;
  line-height: 1.3;
}

.image-attribution-modal-dismiss {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  color: #374151;
  background: transparent;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.image-attribution-modal-dismiss:focus,
.image-attribution-modal-dismiss:focus-visible,
.image-attribution-modal-dismiss:active {
  outline: none;
}

@media (hover: hover) {
  .image-attribution-modal-dismiss:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.06);
  }
}

.image-attribution-modal-text {
  font-family: var(--font-meta);
  font-size: 0.75rem;
  line-height: 1.5;
  color: #000;
  margin: 0;
  font-style: italic;
}

.image-attribution-modal-text .article-attribution-link {
  text-decoration: underline;
}

.article-attribution-link {
  color: inherit;
  text-decoration: underline;
}

.article-attribution-link:hover {
  color: inherit;
}

.post-meta-date {
  flex-shrink: 0;
}

.post-meta-sources {
  flex-shrink: 0;
  color: #696868;
}

.divider {
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
  width: 100%;
  margin: 1em 0 1em 0;
}

@media (max-width: 969px) {
  .featured-headline {
    font-size: 1.7em;
  }
}

@media (max-width: 768px) {
  .app-article {
    padding: 0 0.5em;
  }

  .site-header__inner {
    padding: 1em 0.5em 1em 0.5em;
  }

  .market-ticker {
    padding: 0.5em 1em;
  }

  .market-ticker__value {
    display: none;
  }

  .market-ticker__row {
    gap: 0.85em;
  }

  .page-logo {
    width: min(100%, 18rem);
  }

  .normal-headline {
    font-size: 1.2em;
  }

  .featured-headline {
    font-size: 1.5em;
    text-align: center;
  }

  .page-timestamp {
    margin-top: 1em;
  }

  .site-tips-sources {
    font-size: 1em;
  }

  .site-tips-sources__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-featured-section {
    margin-top: 0;
    margin-bottom: 1em;
  }
}

@media (max-width: 575px) {
  .market-ticker__row {
    justify-content: flex-start;
  }
}

/* ----- Copied from src/pages/Home.css ----- */
.home-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  text-align: center;
}

.home-error {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  text-align: center;
}

.home-error {
  color: var(--color-red);
}

/* ----- Copied from src/pages/Article.css ----- */
.article-page-wrap {
  min-height: 100vh;
  background: #fff;
}

.article-page-loading {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  text-align: center;
}

.article-page-header {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}

.article-page-logo {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-red);
  text-decoration: none;
}

.article-page-logo:hover {
  text-decoration: underline;
}

.article-page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
}

.article-page-updated {
  margin: 0 0 0.5rem;
  font-family: var(--font-meta);
  font-size: 0.7em;
  color: #888;
}

.article-page-headline {
  margin: 0 0 1rem;
  font-family: var(--font-headline);
  font-size: 2em;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
}

/* Two rows: (1) Rogue Original with person icon, (2) share buttons + Copy link */
.article-page-meta-block {
  margin-bottom: 1rem;
}

.article-page-tag-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.article-page-tag-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
}

.article-page-tag-text {
  font-family: var(--font-meta);
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.article-page-share-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.article-page-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25em;
  height: 2.25em;
  font-size: 0.75em;
  font-weight: 600;
  color: #444;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 50%;
  text-decoration: none;
}

.article-page-share-btn:hover {
  border-color: #b0b0b0;
  color: #222;
}

.article-page-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4em 0.75em;
  font-family: var(--font-meta);
  font-size: 0.75em;
  font-weight: 500;
  color: #444;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  cursor: pointer;
}

.article-page-copy-btn:hover {
  border-color: #b0b0b0;
  color: #222;
}

.article-page-copy-btn svg {
  flex-shrink: 0;
}

.article-page-image {
  width: 100%;
  display: block;
  margin: 0 0 0.5rem;
  border-radius: 6px;
}

.article-page-attribution {
  margin: 0 0 1em;
  font-family: var(--font-meta);
  font-size: 0.7em;
  color: #696868;
  line-height: 1.4;
}

.article-page-attribution a {
  color: inherit;
  text-decoration: underline;
}

.article-page-body {
  margin-top: 0.5rem;
}

.article-page-body p {
  font-size: 18px;
}

.article-page-err {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  text-align: center;
}

.article-page-err p {
  margin: 0 0 1rem;
  color: #696868;
}

.article-page-back {
  color: var(--color-red);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .article-page-content {
    padding: 1em 1em 1em 1em;
  }
}

/* ----- Copied from src/components/BodyRenderer.css ----- */
.body-renderer {
  font-family: var(--font-meta);
  font-size: 1rem;
  line-height: 1.65;
  color: #1a1a1a;
}

.body-renderer .ProseMirror {
  outline: none;
}

.body-renderer .ProseMirror p {
  margin: 0 0 1em;
}

.body-renderer .ProseMirror p:last-child {
  margin-bottom: 0;
}

.body-renderer .ProseMirror ul {
  margin: 0 0 1em;
  padding-left: 1.5em;
}

.body-renderer .ProseMirror li {
  margin: 0.25em 0;
}

.body-renderer .ProseMirror img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em 0;
  border-radius: 4px;
}

.body-renderer .ProseMirror a {
  color: var(--color-red);
  text-decoration: underline;
}

.body-renderer .ProseMirror strong {
  font-weight: 600;
}
