/* ========================================================================
   Swiss retail news: hub, retailer pages and items.

   Loads after retailers.css, which supplies the page frame (.rg), the
   breadcrumb, the hero, buttons, forms, tables and the two-paths box. This
   file only adds what the news pages have and the guides do not.
   ======================================================================== */

.rn-hero { padding-bottom: 22px; }
.rn-updated { font: 500 13.5px/1.5 Inter, sans-serif; color: var(--sns-grey-500, #667085); margin: 14px 0 0; }

/* ----------------------------------------------------------- filter chips */
.rn-chips ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 34px;
  padding: 0;
}
.rn-chip {
  display: inline-block;
  font: 600 13.5px/1 Inter, sans-serif;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--sns-grey-200, #D9E0E8);
  background: #fff;
  color: #1e2338;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}
a.rn-chip:hover { border-color: var(--sns-brand, #3F7D4E); }
a.rn-chip:focus-visible { outline: 2px solid var(--sns-brand, #3F7D4E); outline-offset: 2px; }
.rn-chip.is-on { background: var(--sns-ink-900, #101828); border-color: var(--sns-ink-900, #101828); color: #fff; }

/* ----------------------------------------------------------------- layout */
.rn-grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .rn-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
  .rn-side, .rn-side-wrap { position: sticky; top: 92px; }
}
.rn-main, .rn-item { min-width: 0; }

/* ------------------------------------------------------------------ lists */
.rn-group + .rn-group { margin-top: 34px; }
.rn-group-title {
  font: 700 11.5px/1 Inter, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--sns-grey-500, #667085);
  margin: 0 0 4px;
}
.rn-list { list-style: none; margin: 0; padding: 0; }
.rn-entry { padding: 20px 0; border-bottom: 1px solid #eef0f4; }
.rn-entry:last-child { border-bottom: 0; }
.rn-entry-title { font: 600 19px/1.35 Poppins, sans-serif; letter-spacing: -0.01em; margin: 6px 0 8px; }
.rn-entry-title a { color: #0f172a; text-decoration: none; }
.rn-entry-title a:hover { color: var(--sns-brand, #3F7D4E); text-decoration: underline; text-underline-offset: 3px; }
.rn-entry-text { margin: 0; font-size: 15px; line-height: 1.65; color: #56607a; }
.rn-entry-source { margin: 8px 0 0; font: 500 12.5px/1.4 Inter, sans-serif; }
.rn-entry-source a { color: var(--sns-grey-500, #667085); text-decoration: underline; text-decoration-color: rgba(102,112,133,.35); text-underline-offset: 2px; }
.rn-entry-source a:hover { color: var(--sns-brand, #3F7D4E); }
.rn-empty { font-size: 15.5px; color: #56607a; padding: 24px; border: 1px dashed var(--sns-grey-200, #D9E0E8); border-radius: 12px; margin: 0; }
.rn-empty p { margin: 0 0 10px; }
.rn-empty p:last-child { margin: 0; }
.rn-empty a { color: var(--sns-brand, #3F7D4E); font-weight: 600; text-underline-offset: 2px; }

.rn-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font: 500 12.5px/1 Inter, sans-serif; color: var(--sns-grey-500, #667085); }
.rn-tag {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--sns-surface-2, #F6F7F2);
  color: #344054;
  font-weight: 600;
  text-decoration: none;
}
.rn-tag--retailer { background: var(--sns-blue-50, #EEF5EC); color: var(--sns-blue-700, #33683F); }
.rn-tag--logo { display: inline-flex; align-items: center; background: #fff; border: 1px solid #eef0f4; padding: 3px 7px; }
.rn-tag--logo img { display: block; width: auto; max-width: 90px; object-fit: contain; }
a.rn-tag--logo:hover { border-color: var(--sns-brand, #3F7D4E); }
.rn-hero-logo { margin: 0 0 16px; }
.rn-hero-logo img { display: block; width: auto; max-width: 240px; object-fit: contain; }
a.rn-tag--retailer:hover { text-decoration: underline; }

.rn-pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.rn-page {
  font: 600 14px/1 Inter, sans-serif;
  padding: 10px 13px;
  border-radius: 8px;
  border: 1px solid var(--sns-grey-200, #D9E0E8);
  color: #1e2338;
  text-decoration: none;
}
a.rn-page:hover { border-color: var(--sns-brand, #3F7D4E); }
.rn-page.is-on { background: var(--sns-ink-900, #101828); border-color: var(--sns-ink-900, #101828); color: #fff; }

/* ---------------------------------------------------------------- sidebar */
.rn-side { display: grid; gap: 16px; }
.rn-card { border: 1px solid var(--sns-grey-100, #E4E9EF); border-radius: 14px; padding: 20px 22px; background: #fff; }
.rn-card h2 { font: 600 16px/1.35 Poppins, sans-serif; color: #0f172a; margin: 0 0 8px; }
.rn-card p { font-size: 14px; line-height: 1.6; color: #56607a; margin: 0 0 14px; }
.rn-card p:last-child { margin-bottom: 0; }
/* Sellva 2.0 forest silk with white type (Guilherme, 21 Oct 2026; it was
   flat navy). The colour shows while the image loads. */
.rn-card--dark {
  background: #143A2E url('/assets/silk-card.jpg') center / cover no-repeat;
  border-color: rgba(255, 255, 255, 0.08);
}
.rn-card--dark h2 { color: #fff; }
.rn-card--dark p { color: #fff; }
.rn-links { list-style: none; margin: 0; padding: 0; font-size: 14.5px; line-height: 1.5; }
.rn-links li { padding: 4px 0; }
.rn-links a, .rn-guide-link a { color: var(--sns-brand, #3F7D4E); text-underline-offset: 2px; }
.rn-guide-link { margin: 0 0 16px; font: 600 14.5px/1.45 Inter, sans-serif; }

/* ------------------------------------------------------------------- item */
.rn-item-head { max-width: 780px; margin-bottom: 26px; }
.rn-item-head h1 {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  color: #0f172a;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 14px 0 12px;
}
.rn-byline { font: 500 13.5px/1.5 Inter, sans-serif; color: var(--sns-grey-500, #667085); margin: 0; }
.rn-byline a { color: inherit; text-underline-offset: 2px; }
.rn-corrected { font: 500 13.5px/1.5 Inter, sans-serif; color: #92400E; margin: 8px 0 0; }
.rn-body > h2:first-child { margin-top: 0; }
.rn-short { font-size: 17px; line-height: 1.7; color: #1e2338; }
.rn-body .rg-table table { min-width: 0; }
.rn-body .rg-table th { width: 34%; }

.rn-more { margin-top: 36px; }
.rn-more ul { list-style: none; padding: 0; }
.rn-more li { padding: 6px 0; }
.rn-more time { display: block; font-size: 13px; color: var(--sns-grey-500, #667085); }

.rn-note { margin-top: 40px; padding-top: 22px; border-top: 1px solid #eef0f4; font-size: 14px; line-height: 1.6; color: #56607a; }
.rn-note p { margin: 0 0 12px; }
.rn-report summary { cursor: pointer; font-weight: 600; color: #1e2338; }
.rn-report summary:hover { text-decoration: underline; }
.rn-report[open] summary { margin-bottom: 10px; }
.rn-report .rg-form { max-width: 480px; }

.rn-item--withdrawn { max-width: 640px; padding: 24px 0 60px; }
.rn-item--withdrawn h1 { font: 700 30px/1.2 Poppins, sans-serif; color: #0f172a; margin: 0 0 12px; }
.rn-item--withdrawn a { color: var(--sns-brand, #3F7D4E); }

@media (max-width: 767px) {
  .rn-entry-title { font-size: 17.5px; }
  .rn-chips ul { flex-wrap: nowrap; overflow-x: auto; margin-left: -1.25rem; margin-right: -1.25rem; padding: 0 1.25rem 4px; scrollbar-width: none; }
  .rn-chip { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .rn-chip { transition: none; } }
