/* Artia13 News Engine 2.5.245 — editorial experience layer.
 * Scoped to the plugin-rendered homepage; no theme, single-article or Turf UI changes.
 */
.a13-news-home-v271 {
  --a13-news-surface: #ffffff;
  --a13-news-page: #f7f8fa;
  --a13-news-line: #e3e7ed;
  --a13-news-ink: #202124;
  --a13-news-muted: #5f6368;
  --a13-news-accent: #b3261e;
  --a13-max: 1220px;
  background: var(--a13-news-page);
  color: var(--a13-news-ink);
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}
.a13-news-home-v271 .a13-news-container { width: min(var(--a13-max), calc(100% - 40px)); }
.a13-news-home-v271 .a13-news-header {
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--a13-news-line);
}
.a13-news-home-v271 .a13-news-header-main { min-height: 68px; gap: 16px; }
.a13-news-home-v271 .a13-news-brand { gap: 12px; }
.a13-news-home-v271 .a13-news-brand-tag { color: var(--a13-news-muted); font-size: .78rem; font-weight: 650; }
.a13-news-home-v271 .a13-news-search-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--a13-news-line);
  border-radius: 50%; background: #fff; color: #3c4043; cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}
.a13-news-home-v271 .a13-news-search-toggle:hover { background: #f1f3f4; border-color: #c5cad1; }
.a13-news-home-v271 .a13-news-search-toggle:focus-visible,
.a13-news-home-v271 .a13-news-nav a:focus-visible,
.a13-news-home-v271 .a13-news-card a:focus-visible,
.a13-news-home-v271 .a13-ne-save-button:focus-visible,
.a13-news-home-v271 .a13-news-button:focus-visible {
  outline: 3px solid rgba(26,115,232,.45); outline-offset: 3px;
}
.a13-news-home-v271 .a13-news-nav { border-top: 1px solid #f1f3f4; }
.a13-news-home-v271 .a13-news-nav a { min-height: 44px; font-size: .91rem; font-weight: 650; color: #3c4043; }
.a13-news-home-v271 .a13-news-nav a:hover,
.a13-news-home-v271 .a13-news-nav a.is-active { color: var(--a13-news-accent); border-bottom-color: var(--a13-news-accent); }
.a13-news-home-v271 .a13-news-masthead-v271 {
  align-items: end; gap: 18px; padding: 30px 0 20px; border-bottom: 1px solid var(--a13-news-line);
}
.a13-news-home-v271 .a13-news-masthead-v271 h1 {
  max-width: 860px; margin: .28rem 0 .45rem;
  font-size: clamp(2rem, 3.45vw, 3.25rem); line-height: 1.06;
  letter-spacing: -.045em; font-weight: 760; color: #202124;
}
.a13-news-home-v271 .a13-news-masthead-v271 p { max-width: 760px; color: #5f6368; font-size: 1rem; line-height: 1.58; }
.a13-news-home-v271 .a13-news-masthead-date { color: #6b7075; font-size: .84rem; font-weight: 650; }
.a13-news-home-v271 .a13-news-main { background: transparent; }
.a13-news-home-v271 .a13-home-lead-v271 { gap: 20px; padding: 22px 0 2px; grid-template-columns: minmax(0, 1.65fr) minmax(330px, .9fr); }
.a13-news-home-v271 .a13-home-lead-primary .a13-news-card,
.a13-news-home-v271 .a13-home-discover-grid-v271 .a13-news-card,
.a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-news-card {
  min-width: 0; overflow: hidden; background: var(--a13-news-surface);
  border: 1px solid var(--a13-news-line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(60,64,67,.04);
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.a13-news-home-v271 .a13-home-lead-primary .a13-news-card:hover,
.a13-news-home-v271 .a13-home-discover-grid-v271 .a13-news-card:hover,
.a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-news-card:hover {
  border-color: #d2d7de; box-shadow: 0 7px 22px rgba(60,64,67,.09); transform: translateY(-1px);
}
.a13-news-home-v271 .a13-home-lead-primary .a13-news-card-media { border-radius: 0; }
.a13-news-home-v271 .a13-home-lead-primary .a13-news-card-media img { aspect-ratio: 16 / 8.6; }
.a13-news-home-v271 .a13-news-card-media { position: relative; }
.a13-news-home-v271 .a13-news-card-media img { width: 100%; height: auto; object-fit: cover; }
.a13-news-home-v271 .a13-news-card-media-shade { pointer-events: none; }
.a13-news-home-v271 .a13-news-card-editorial-flag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; min-height: 25px; padding: 4px 9px;
  border-radius: 6px; background: rgba(32,33,36,.88); color: #fff;
  font-size: .68rem; line-height: 1; font-weight: 800; letter-spacing: .04em;
}
.a13-news-home-v271 .a13-news-card-media-category {
  bottom: 10px; left: 12px; right: auto; max-width: calc(100% - 24px);
  padding: 4px 7px; border-radius: 5px; background: rgba(255,255,255,.94);
  color: #3c4043; font-size: .68rem; font-weight: 800; letter-spacing: .035em;
}
.a13-news-home-v271 .a13-home-lead-primary .a13-news-card-body { padding: 17px 20px 18px; }
.a13-news-home-v271 .a13-news-card-section { color: var(--a13-news-accent); font-size: .72rem; letter-spacing: .06em; }
.a13-news-home-v271 .a13-home-lead-primary .a13-news-card-title { font-size: clamp(1.7rem, 2.8vw, 2.65rem); line-height: 1.11; letter-spacing: -.035em; }
.a13-news-home-v271 .a13-news-card-title a:hover { color: #174ea6; text-decoration-thickness: 1px; }
.a13-news-home-v271 .a13-news-card-read-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 13px;
  min-height: 38px; padding: 0 13px; border-radius: 999px;
  background: #1a73e8; color: #fff; font-size: .84rem; font-weight: 750;
  text-decoration: none; transition: background-color .16s ease, transform .16s ease;
}
.a13-news-home-v271 .a13-news-card-read-link:hover { background: #1558b0; transform: translateY(-1px); }
.a13-news-home-v271 .a13-news-card-read-link:focus-visible { outline: 3px solid rgba(26,115,232,.42); outline-offset: 3px; }

.a13-news-home-v271 .a13-news-card-excerpt { color: #4d5156; font-size: .98rem; line-height: 1.57; margin: .6rem 0 .7rem; }
.a13-news-home-v271 .a13-news-card-meta { color: #6b7075; font-size: .77rem; font-weight: 550; gap: 5px 10px; }
.a13-news-home-v271 .a13-news-card-meta a { color: #5f6368; font-weight: 700; }
.a13-news-home-v271 .a13-home-lead-secondary { border-top-color: var(--a13-news-line); }
.a13-news-home-v271 .a13-home-lead-secondary .a13-news-card-small { grid-template-columns: 132px minmax(0,1fr); gap: 13px; padding: 13px 0; border-bottom-color: var(--a13-news-line); }
.a13-news-home-v271 .a13-home-lead-secondary .a13-news-card-small .a13-news-card-media { border-radius: 9px; }
.a13-news-home-v271 .a13-home-lead-secondary .a13-news-card-small .a13-news-card-media img { aspect-ratio: 4 / 3; }
.a13-news-home-v271 .a13-home-lead-secondary .a13-news-card-small .a13-news-card-title { font-size: 1.04rem; line-height: 1.24; letter-spacing: -.018em; }
.a13-news-home-v271 .a13-home-lead-secondary .a13-news-card-small .a13-news-card-body { padding: 0; }
.a13-news-home-v271 .a13-home-section-heading-v271 { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #d9dde3; align-items: center; }
.a13-news-home-v271 .a13-home-section-heading-v271 h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.18; letter-spacing: -.025em; font-weight: 720; color: #202124; }
.a13-news-home-v271 .a13-home-section-heading-v271 .a13-kicker { font-size: .67rem; letter-spacing: .1em; }
.a13-news-home-v271 .a13-home-section-heading-v271 > a { display: inline-flex; align-items: center; gap: 5px; color: #174ea6; font-size: .86rem; font-weight: 700; }
.a13-news-home-v271 .a13-home-latest-v271,
.a13-news-home-v271 .a13-home-discover-v271,
.a13-news-home-v271 .a13-home-rubric-v271 { padding-top: 30px; }
.a13-news-home-v271 .a13-home-latest-grid-v271 { border-top: 0; background: transparent; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 22px; }
.a13-news-home-v271 .a13-home-latest-grid-v271 .a13-news-compact { min-width: 0; grid-template-columns: 112px minmax(0,1fr); gap: 13px; padding: 15px 0; border-bottom-color: var(--a13-news-line); }
.a13-news-home-v271 .a13-home-latest-grid-v271 .a13-news-compact:nth-child(odd),
.a13-news-home-v271 .a13-home-latest-grid-v271 .a13-news-compact:nth-child(even) { padding-left: 0; padding-right: 0; border-right: 0; }
.a13-news-home-v271 .a13-home-latest-grid-v271 .a13-news-compact-media { border-radius: 8px; }
.a13-news-home-v271 .a13-home-latest-grid-v271 .a13-news-compact-media img { aspect-ratio: 4 / 3; }
.a13-news-home-v271 .a13-home-latest-grid-v271 .a13-news-compact-title { font-size: .99rem; line-height: 1.28; font-weight: 700; letter-spacing: -.01em; }
.a13-news-home-v271 .a13-home-latest-grid-v271 .a13-news-card-meta { margin-top: 7px; font-size: .72rem; }
.a13-news-home-v271 .a13-home-discover-grid-v271 { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.a13-news-home-v271 .a13-home-discover-grid-v271 .a13-news-card-media img { aspect-ratio: 16 / 9; }
.a13-news-home-v271 .a13-home-discover-grid-v271 .a13-news-card-body,
.a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-news-card-body { padding: 13px 14px 15px; }
.a13-news-home-v271 .a13-home-discover-grid-v271 .a13-news-card-title { font-size: 1rem; line-height: 1.28; letter-spacing: -.015em; }
.a13-news-home-v271 .a13-home-rubric-grid-v271 { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-news-card-media { border-radius: 0; }
.a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-news-card-media img { aspect-ratio: 16 / 9; }
.a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-news-card-title { font-size: 1.02rem; line-height: 1.29; }
.a13-news-home-v271 .a13-ne-save-button {
  min-height: 35px !important; margin-top: 9px !important; padding: 0 11px !important;
  border-color: #dadce0 !important; border-radius: 999px !important;
  background: #fff !important; color: #5f6368 !important; font-size: .76rem !important; font-weight: 700 !important;
}
.a13-news-home-v271 .a13-ne-save-button:hover,
.a13-news-home-v271 .a13-ne-save-button[aria-pressed="true"] { background: #fce8e6 !important; border-color: #f6aea9 !important; color: #b3261e !important; }
.a13-news-home-v271 .a13-home-turf-v271 { border: 1px solid rgba(255,255,255,.12); box-shadow: 0 4px 18px rgba(32,33,36,.12); }
.a13-news-home-v271 .a13-news-trust-v271 { border-color: var(--a13-news-line); border-radius: 12px; background: #fff; padding: 22px; }
.a13-news-home-v271 .a13-news-footer { margin-top: 34px; }
.a13-news-home-v271 .a13-breaking-gains .a13-breaking-inner { min-height: 38px; }
.a13-news-home-v271 .a13-breaking-gains .a13-breaking-label { border-radius: 5px; }
.a13-news-home-v271 .a13-breaking-gains .a13-breaking-gain-item { font-size: .83rem !important; }
.a13-news-home-v271 .a13-breaking-gains .a13-breaking-marquee-run { gap: 22px; }
.a13-news-home-v271 .a13-breaking-gains .a13-breaking-gain-empty { font-size: .82rem; }
@media (max-width: 1000px) {
  .a13-news-home-v271 .a13-home-lead-v271 { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .a13-news-home-v271 .a13-home-lead-secondary { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 20px; }
  .a13-news-home-v271 .a13-home-lead-secondary .a13-news-card-small { grid-template-columns: 116px minmax(0,1fr); }
  .a13-news-home-v271 .a13-home-discover-grid-v271 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .a13-news-home-v271 .a13-home-rubric-grid-v271 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .a13-news-home-v271 { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .a13-news-home-v271 .a13-news-container { width: calc(100% - 24px); }
  .a13-news-home-v271 .a13-news-header-main { min-height: 60px; padding: 8px 0; flex-direction: row; align-items: center; gap: 10px; }
  .a13-news-home-v271 .a13-news-brand-tag { display: none; }
  .a13-news-home-v271 .a13-news-search-toggle { width: 42px; height: 42px; flex: 0 0 42px; }
  .a13-news-home-v271 .a13-news-nav a { min-height: 42px; padding: 0 9px; font-size: .85rem; }
  .a13-news-home-v271 .a13-news-masthead-v271 { display: block; padding: 24px 0 16px; }
  .a13-news-home-v271 .a13-news-masthead-v271 h1 { font-size: clamp(1.8rem, 7.2vw, 2.25rem); line-height: 1.07; }
  .a13-news-home-v271 .a13-news-masthead-v271 p { font-size: .93rem; line-height: 1.52; }
  .a13-news-home-v271 .a13-news-masthead-date { margin-top: 10px; font-size: .79rem; }
  .a13-news-home-v271 .a13-home-lead-v271 { padding-top: 14px; gap: 12px; }
  .a13-news-home-v271 .a13-home-lead-primary .a13-news-card { border-radius: 12px; }
  .a13-news-home-v271 .a13-home-lead-primary .a13-news-card-media img { aspect-ratio: 16 / 9; }
  .a13-news-home-v271 .a13-home-lead-primary .a13-news-card-body { padding: 13px 14px 15px; }
  .a13-news-home-v271 .a13-home-lead-primary .a13-news-card-title { font-size: clamp(1.45rem, 6vw, 1.9rem); line-height: 1.12; }
  .a13-news-home-v271 .a13-news-card-excerpt { font-size: .92rem; margin: .55rem 0 .65rem; }
  .a13-news-home-v271 .a13-home-lead-secondary { grid-template-columns: minmax(0,1fr); gap: 0; }
  .a13-news-home-v271 .a13-home-lead-secondary .a13-news-card-small { grid-template-columns: 104px minmax(0,1fr); gap: 11px; padding: 12px 0; }
  .a13-news-home-v271 .a13-home-lead-secondary .a13-news-card-small .a13-news-card-media img { aspect-ratio: 4 / 3; }
  .a13-news-home-v271 .a13-home-lead-secondary .a13-news-card-small .a13-news-card-title { font-size: .96rem; line-height: 1.25; }
  .a13-news-home-v271 .a13-home-lead-secondary .a13-news-card-meta { margin-top: 6px; font-size: .7rem; }
  .a13-news-home-v271 .a13-home-section-heading-v271 { flex-direction: row; align-items: end; gap: 10px; }
  .a13-news-home-v271 .a13-home-section-heading-v271 h2 { font-size: 1.35rem; }
  .a13-news-home-v271 .a13-home-section-heading-v271 > a { flex: 0 0 auto; font-size: .77rem; }
  .a13-news-home-v271 .a13-home-latest-v271,
  .a13-news-home-v271 .a13-home-discover-v271,
  .a13-news-home-v271 .a13-home-rubric-v271 { padding-top: 24px; }
  .a13-news-home-v271 .a13-home-latest-grid-v271 { grid-template-columns: minmax(0,1fr); gap: 0; }
  .a13-news-home-v271 .a13-home-latest-grid-v271 .a13-news-compact { grid-template-columns: 96px minmax(0,1fr); gap: 11px; padding: 12px 0; }
  .a13-news-home-v271 .a13-home-latest-grid-v271 .a13-news-compact-title { font-size: .94rem; line-height: 1.25; }
  .a13-news-home-v271 .a13-home-latest-grid-v271 .a13-news-card-meta { font-size: .69rem; margin-top: 6px; }
  .a13-news-home-v271 .a13-home-discover-grid-v271,
  .a13-news-home-v271 .a13-home-rubric-grid-v271 { grid-template-columns: minmax(0,1fr); gap: 12px; }
  /* Mobile / small tablet: put the complete thumbnail above the copy. Keeping it in a
     112px sidebar while assigning height:100% made it stretch with the full text column. */
  .a13-news-home-v271 .a13-home-discover-grid-v271 .a13-news-card,
  .a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-news-card { display: flex; flex-direction: column; grid-template-columns: minmax(0,1fr); align-items: stretch; gap: 0; border-radius: 10px; }
  .a13-news-home-v271 .a13-home-discover-grid-v271 .a13-news-card-media,
  .a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-news-card-media { display: block; width: 100%; height: auto; min-height: 0; max-height: 220px; aspect-ratio: 16 / 9; overflow: hidden; }
  .a13-news-home-v271 .a13-home-discover-grid-v271 .a13-news-card-media img,
  .a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-news-card-media img { display: block; width: 100%; height: 100%; min-height: 0; max-height: 220px; aspect-ratio: auto; object-fit: contain; object-position: center; background: #e9edf2; }
  .a13-news-home-v271 .a13-home-discover-grid-v271 .a13-news-card-body,
  .a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-news-card-body { padding: 10px 11px; min-width: 0; }
  .a13-news-home-v271 .a13-home-discover-grid-v271 .a13-news-card-title,
  .a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-news-card-title { font-size: .92rem; line-height: 1.25; }
  .a13-news-home-v271 .a13-home-discover-grid-v271 .a13-news-card-meta,
  .a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-news-card-meta { display: block; font-size: .67rem; margin-top: 6px; }
  .a13-news-home-v271 .a13-home-discover-grid-v271 .a13-ne-save-button,
  .a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-ne-save-button { margin-top: 6px !important; min-height: 30px !important; }
  .a13-news-home-v271 .a13-home-turf-v271 { padding: 19px 17px; margin-top: 28px; border-radius: 13px; }
  .a13-news-home-v271 .a13-home-turf-v271 h2 { font-size: 1.35rem; }
  .a13-news-home-v271 .a13-home-turf-v271 .a13-news-button { margin-top: 13px; }
  .a13-news-home-v271 .a13-news-trust-v271 { margin-top: 24px; padding: 16px; display: block; }
  .a13-news-home-v271 .a13-news-trust-v271 h2 { font-size: 1.3rem; }
  .a13-news-home-v271 .a13-news-trust-v271 p { font-size: .9rem; }
  .a13-news-home-v271 .a13-news-trust-v271 .a13-news-button { margin-top: 13px; }
  .a13-news-home-v271 .a13-news-footer { margin-top: 26px; }
  .a13-news-home-v271 .a13-news-footer .a13-news-container { padding: 28px 0 18px; }
  .a13-news-home-v271 .a13-news-footer-grid { grid-template-columns: minmax(0,1fr); gap: 23px; }
  .a13-news-home-v271 .a13-news-footer-bottom { align-items: flex-start; flex-direction: column; font-size: .79rem; }
  .a13-news-home-v271 .a13-news-footer-bottom nav { flex-direction: row; flex-wrap: wrap; gap: 8px 14px; }
  .a13-news-home-v271 .a13-breaking-gains .a13-breaking-inner { min-height: 36px; gap: 8px; }
  .a13-news-home-v271 .a13-breaking-gains .a13-breaking-label { padding: 5px 7px; font-size: .62rem; }
  .a13-news-home-v271 .a13-breaking-gains .a13-breaking-gain-item { font-size: .76rem !important; }
}
@media (max-width: 380px) {
  .a13-news-home-v271 .a13-news-container { width: calc(100% - 20px); }
  .a13-news-home-v271 .a13-home-section-heading-v271 h2 { font-size: 1.22rem; }
  .a13-news-home-v271 .a13-home-section-heading-v271 > a { font-size: .71rem; }
  .a13-news-home-v271 .a13-home-discover-grid-v271 .a13-news-card,
  .a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-news-card { display: flex; flex-direction: column; grid-template-columns: minmax(0,1fr); }
  .a13-news-home-v271 .a13-home-discover-grid-v271 .a13-news-card-media,
  .a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-news-card-media { height: auto; min-height: 0; max-height: 180px; aspect-ratio: 16 / 9; }
  .a13-news-home-v271 .a13-home-discover-grid-v271 .a13-news-card-media img,
  .a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-news-card-media img { height: 100%; min-height: 0; max-height: 180px; object-fit: contain; }
  .a13-news-home-v271 .a13-home-discover-grid-v271 .a13-news-card-body,
  .a13-news-home-v271 .a13-home-rubric-grid-v271 .a13-news-card-body { padding: 8px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .a13-news-home-v271 .a13-news-card,
  .a13-news-home-v271 .a13-news-card-media img,
  .a13-news-home-v271 .a13-news-search-toggle { transition: none !important; }
  .a13-news-home-v271 .a13-news-card:hover { transform: none !important; }
}
