/* Блок «Новости компании» — pravo-linker.ru (вставляется скриптом linker-news.js) */
#linker-news-section {
  --ln-ink: oklch(0.17 0.14 305);
  --ln-text: oklch(0.32 0.045 305);
  --ln-muted: oklch(0.5 0.04 300);
  --ln-gold: oklch(0.68 0.13 72);
  --ln-gold-soft: oklch(0.8 0.1 75 / .22);
  --ln-line: oklch(0.88 0.02 85);
  --ln-paper: oklch(0.995 0.002 85);
  --ln-cream: oklch(0.965 0.012 82);
  position: relative;
  background: #fff;
  overflow: hidden;
}
#linker-news-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 8%, oklch(0.76 0.11 72 / .14), transparent 32%),
    radial-gradient(circle at 4% 96%, oklch(0.18 0.15 305 / .06), transparent 36%);
  pointer-events: none;
}
#linker-news-section .container { position: relative; z-index: 1; }

/* Шапка раздела */
#linker-news-section .ln-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--ln-line);
}
#linker-news-section .ln-kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: 'Manrope', sans-serif;
  font-size: .68rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: oklch(0.19 0.145 305);
  margin-bottom: .9rem;
}
#linker-news-section .ln-kicker::before {
  content: '';
  width: 42px;
  height: 2px;
  background: var(--ln-gold);
  flex: 0 0 auto;
}
#linker-news-section .ln-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.15rem, 4.4vw, 3.6rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.018em;
  color: oklch(0.16 0.13 305);
  margin: 0;
}
#linker-news-section .ln-head-note {
  font-family: 'Manrope', sans-serif;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--ln-muted);
  max-width: 340px;
  margin: 0;
  text-align: right;
}

/* Карточка новости */
#linker-news-section .ln-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  background: var(--ln-paper);
  border: 1px solid oklch(0.86 0.025 85);
  border-top: 4px solid var(--ln-gold);
  box-shadow: 0 22px 56px oklch(0.18 0.14 305 / .08);
}
#linker-news-section .ln-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: oklch(0.22 0.09 290);
}
#linker-news-section .ln-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  display: block;
  transition: transform .8s ease;
}
#linker-news-section .ln-badge {
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .85rem;
  background: oklch(0.17 0.14 305 / .88);
  color: oklch(0.97 0.005 85);
  font-family: 'Manrope', sans-serif;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
#linker-news-section .ln-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: oklch(0.78 0.14 75);
  box-shadow: 0 0 0 4px oklch(0.78 0.14 75 / .25);
}
#linker-news-section .ln-body {
  padding: clamp(1.5rem, 3.2vw, 2.9rem);
  display: flex;
  flex-direction: column;
}
#linker-news-section .ln-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .9rem;
  font-family: 'Manrope', sans-serif;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ln-muted);
  margin-bottom: 1.1rem;
}
#linker-news-section .ln-meta time { color: oklch(0.55 0.12 70); }
#linker-news-section .ln-meta .ln-sep {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: oklch(0.75 0.03 300);
}
#linker-news-section .ln-tag {
  padding: .28rem .6rem;
  border: 1px solid var(--ln-line);
  color: oklch(0.3 0.1 305);
  letter-spacing: .04em;
}
#linker-news-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.06;
  font-weight: 700;
  color: var(--ln-ink);
  margin: 0 0 1.05rem;
}
#linker-news-section h3 .ln-flags { white-space: nowrap; font-size: .8em; }
#linker-news-section p {
  font-family: 'Manrope', sans-serif;
  color: var(--ln-text);
  font-size: .95rem;
  line-height: 1.75;
  margin: 0 0 .9rem;
}
#linker-news-section .ln-lead {
  font-size: 1.06rem;
  line-height: 1.65;
  font-weight: 600;
  color: oklch(0.24 0.08 305);
}
#linker-news-section .ln-about {
  border-left: 3px solid var(--ln-gold);
  padding: .2rem 0 .2rem 1rem;
  margin: .4rem 0 1.4rem;
}

/* Кнопки */
#linker-news-section .ln-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: auto;
  padding-top: .6rem;
}
#linker-news-section .ln-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .82rem 1.28rem;
  border-radius: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
#linker-news-section .ln-btn-gold {
  border: 0;
  background: linear-gradient(135deg, oklch(0.73 0.14 72), oklch(0.6 0.14 65));
  color: oklch(0.15 0.05 70);
  box-shadow: 0 14px 28px oklch(0.44 0.12 70 / .22);
}
#linker-news-section .ln-btn-line {
  background: transparent;
  border: 1px solid oklch(0.3 0.12 305 / .35);
  color: var(--ln-ink);
}
#linker-news-section .ln-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .3s ease;
}
#linker-news-section .ln-toggle[aria-expanded="true"] .ln-chevron { transform: rotate(-135deg) translate(-2px, -2px); }

/* Полный текст новости */
#linker-news-section .ln-more {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s ease;
}
#linker-news-section .ln-more.is-open { grid-template-rows: 1fr; }
#linker-news-section .ln-more-inner { overflow: hidden; min-height: 0; }
#linker-news-section .ln-more-pad {
  border-top: 1px solid var(--ln-line);
  padding: clamp(1.5rem, 3.2vw, 2.9rem);
  background: linear-gradient(180deg, var(--ln-cream), var(--ln-paper));
}
#linker-news-section h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--ln-ink);
  margin: 0 0 1.2rem;
}
#linker-news-section .ln-services {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: ln;
}
#linker-news-section .ln-services li {
  grid-column: span 2;
  counter-increment: ln;
  position: relative;
  background: #fff;
  border: 1px solid oklch(0.88 0.02 85);
  padding: 1.25rem 1.2rem 1.15rem;
  box-shadow: 0 10px 24px oklch(0.18 0.14 305 / .04);
}
#linker-news-section .ln-services li:nth-child(4),
#linker-news-section .ln-services li:nth-child(5) { grid-column: span 3; }
#linker-news-section .ln-services li::before {
  content: counter(ln, decimal-leading-zero);
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 700;
  color: var(--ln-gold);
  margin-bottom: .6rem;
}
#linker-news-section .ln-services strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: .98rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--ln-ink);
  margin-bottom: .45rem;
}
#linker-news-section .ln-services span {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: .9rem;
  line-height: 1.62;
  color: var(--ln-text);
}
#linker-news-section .ln-team {
  font-size: 1rem;
  font-weight: 600;
  color: oklch(0.24 0.08 305);
  margin-bottom: 1.4rem;
}
#linker-news-section .ln-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  background: oklch(0.17 0.14 305);
  color: oklch(0.97 0.005 85);
  padding: clamp(1.2rem, 2.4vw, 1.7rem) clamp(1.2rem, 2.6vw, 2rem);
  border-left: 4px solid var(--ln-gold);
}
#linker-news-section .ln-callout p {
  color: oklch(0.95 0.01 85);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
}
#linker-news-section .ln-callout q { color: oklch(0.82 0.12 78); font-weight: 800; quotes: '«' '»'; }
#linker-news-section .ln-callout .ln-btn-line { color: #fff; border-color: oklch(1 0 0 / .35); }
#linker-news-section .ln-callout-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

@media (max-width: 1080px) {
  #linker-news-section .ln-card { grid-template-columns: 1fr; }
  #linker-news-section .ln-media { aspect-ratio: 16 / 9; min-height: 0; }
  #linker-news-section .ln-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #linker-news-section .ln-services li,
  #linker-news-section .ln-services li:nth-child(4) { grid-column: span 1; }
  #linker-news-section .ln-services li:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  #linker-news-section .ln-head { flex-direction: column; align-items: flex-start; }
  #linker-news-section .ln-head-note { text-align: left; }
  #linker-news-section .ln-services { grid-template-columns: 1fr; }
  #linker-news-section .ln-services li:nth-child(n) { grid-column: auto; }
  #linker-news-section .ln-actions .ln-btn,
  #linker-news-section .ln-callout-actions .ln-btn { width: 100%; }
  #linker-news-section .ln-callout-actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #linker-news-section .ln-more,
  #linker-news-section .ln-media img,
  #linker-news-section .ln-btn { transition: none; }
}
@media (hover: hover) {
  #linker-news-section .ln-card:hover .ln-media img { transform: scale(1.03); }
  #linker-news-section .ln-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 34px oklch(0.44 0.12 70 / .3); }
  #linker-news-section .ln-btn-line:hover { background: var(--ln-ink); color: #fff; border-color: var(--ln-ink); }
  #linker-news-section .ln-callout .ln-btn-line:hover { background: #fff; color: var(--ln-ink); }
}
