.oc-articles-page {
  --articles-navy: #092f50;
  --articles-blue: #087bea;
  --articles-blue-dark: #075fae;
  --articles-gold: #ffc928;
  --articles-soft: #f1f8fd;
  --articles-line: #d6e5f0;
  --articles-muted: #60758a;
  color: var(--articles-navy);
  background: #fff;
}

.oc-articles-page h1,
.oc-articles-page h2,
.oc-articles-page h3,
.oc-articles-page p { margin-top: 0; }
.oc-articles-page h1,
.oc-articles-page h2,
.oc-articles-page h3 { color: var(--articles-navy); }

.oc-articles-hero { padding: 18px 0 34px; }
.oc-articles-breadcrumbs { display: flex; gap: 7px; margin: 0 0 15px; color: #8294a5; font-size: 11px; }
.oc-articles-breadcrumbs a { color: #52728c; text-decoration: none; }
.oc-articles-hero-box { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 35px; padding: 47px 52px; border: 1px solid #cfe5f5; border-radius: 20px; background: radial-gradient(circle at 92% 10%,rgba(255,255,255,.98),transparent 24%),linear-gradient(118deg,#fbfdff,#edf8ff 56%,#dcefff); box-shadow: 0 16px 45px rgba(38,107,157,.08); }
.oc-articles-hero-box > div:first-child > p,
.oc-articles-list-head p { margin: 0 0 7px; color: var(--articles-blue-dark); font-size: 11px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.oc-articles-hero h1 { max-width: 790px; margin: 0 0 15px; font-size: clamp(40px,4.8vw,59px); font-weight: 950; letter-spacing: -.045em; line-height: 1.01; }
.oc-articles-hero-box > div:first-child > span { display: block; max-width: 720px; color: #405d76; font-size: 16px; line-height: 1.58; }
.oc-articles-hero-stat { display: flex; width: 190px; min-height: 150px; align-items: center; justify-content: center; flex-direction: column; padding: 20px; border: 1px solid rgba(157,198,227,.75); border-radius: 17px; background: rgba(255,255,255,.78); text-align: center; box-shadow: 0 12px 30px rgba(25,87,133,.08); }
.oc-articles-hero-stat strong { color: var(--articles-blue-dark); font-size: 45px; font-weight: 950; line-height: 1; }
.oc-articles-hero-stat span { margin-top: 8px; color: var(--articles-muted); font-size: 11px; line-height: 1.35; }

.oc-articles-content { padding: 22px 0 62px; }
.oc-articles-toolbar { display: grid; gap: 15px; margin-bottom: 39px; padding: 21px; border: 1px solid var(--articles-line); border-radius: 15px; background: var(--articles-soft); }
.oc-articles-search { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; max-width: 760px; }
.oc-articles-search input { min-width: 0; height: 46px; padding: 10px 14px; border: 1px solid #bad4e6; border-radius: 10px; color: var(--articles-navy); background: #fff; font: inherit; font-size: 13px; box-shadow: none; }
.oc-articles-search input:focus { border-color: var(--articles-blue); outline: 3px solid rgba(8,123,234,.1); }
.oc-articles-search button { min-width: 110px; padding: 10px 18px; border: 0; border-radius: 10px; color: #fff; background: var(--articles-blue-dark); cursor: pointer; font: inherit; font-size: 13px; font-weight: 900; }
.oc-articles-search button:hover { background: var(--articles-blue); }
.oc-articles-categories { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.oc-articles-categories::-webkit-scrollbar { display: none; }
.oc-articles-categories a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid #c5dbea; border-radius: 999px; color: #456178; background: #fff; font-size: 10px; font-weight: 800; text-decoration: none; }
.oc-articles-categories a span { display: inline-flex; min-width: 18px; height: 18px; align-items: center; justify-content: center; padding: 0 4px; border-radius: 9px; color: #55738b; background: #eaf5fc; font-size: 9px; }
.oc-articles-categories a.is-active,
.oc-articles-categories a:hover { border-color: var(--articles-blue-dark); color: #fff; background: var(--articles-blue-dark); }
.oc-articles-categories a.is-active span,
.oc-articles-categories a:hover span { color: #fff; background: rgba(255,255,255,.18); }

.oc-articles-list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.oc-articles-list-head h2 { margin: 0; font-size: clamp(30px,3.5vw,42px); font-weight: 950; letter-spacing: -.035em; line-height: 1.06; }
.oc-articles-list-head > a { color: var(--articles-blue-dark); font-size: 12px; font-weight: 850; text-decoration: none; }

.oc-articles-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.oc-articles-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; margin: 0; border: 1px solid var(--articles-line); border-radius: 14px; background: #fff; box-shadow: 0 7px 22px rgba(18,71,111,.055); transition: border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.oc-articles-card:hover { border-color: #9bc9e7; box-shadow: 0 13px 30px rgba(18,71,111,.1); transform: translateY(-2px); }
.oc-articles-card-media { display: block; overflow: hidden; aspect-ratio: 16/9.2; background: #dcecf7; }
.oc-articles-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.oc-articles-card:hover .oc-articles-card-media img { transform: scale(1.025); }
.oc-articles-card-media > span { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: rgba(255,255,255,.92); background: radial-gradient(circle at 75% 25%,rgba(98,190,242,.45),transparent 32%),linear-gradient(135deg,#0b3659,#126ca8); }
.oc-articles-card-media b { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; font-size: 15px; font-weight: 950; }
.oc-articles-card-body { display: flex; min-height: 230px; flex: 1; flex-direction: column; padding: 17px 18px 19px; }
.oc-articles-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 8px; color: #74889a; font-size: 9px; line-height: 1.3; }
.oc-articles-card-meta span { color: var(--articles-blue-dark); font-weight: 800; }
.oc-articles-card h3 { margin: 0; font-size: 17px; font-weight: 900; line-height: 1.28; }
.oc-articles-card h3 a { color: var(--articles-navy); text-decoration: none; }
.oc-articles-card h3 a:hover { color: var(--articles-blue-dark); }
.oc-articles-card-body > p { margin: 11px 0 17px; color: var(--articles-muted); font-size: 11px; line-height: 1.52; }
.oc-articles-card-more { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: auto; color: var(--articles-blue-dark) !important; font-size: 11px; font-weight: 900; text-decoration: none !important; }

.oc-articles-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 32px; }
.oc-articles-pagination .page-numbers { display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--articles-line); border-radius: 9px; color: var(--articles-navy); background: #fff; font-size: 11px; font-weight: 850; text-decoration: none; }
.oc-articles-pagination .page-numbers.current,
.oc-articles-pagination a.page-numbers:hover { border-color: var(--articles-blue-dark); color: #fff; background: var(--articles-blue-dark); }
.oc-articles-empty { padding: 55px 30px; border: 1px solid var(--articles-line); border-radius: 15px; background: var(--articles-soft); text-align: center; }
.oc-articles-empty h2 { margin-bottom: 8px; font-size: 28px; font-weight: 950; }
.oc-articles-empty p { color: var(--articles-muted); }
.oc-articles-empty a { display: inline-flex; padding: 9px 14px; border-radius: 9px; color: #fff; background: var(--articles-blue-dark); font-size: 12px; font-weight: 850; text-decoration: none; }

.oc-articles-final { padding: 0 0 64px; }
.oc-articles-final > .oc-container { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 30px; padding: 34px 38px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 92% 14%,rgba(52,167,231,.28),transparent 30%),linear-gradient(115deg,#062a48,#07446d 65%,#0870af); box-shadow: 0 15px 35px rgba(7,48,79,.15); }
.oc-articles-final p { margin: 0 0 6px; color: #84cff8; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.oc-articles-final h2 { max-width: 770px; margin: 0 0 9px; color: #fff; font-size: clamp(25px,3vw,34px); font-weight: 950; letter-spacing: -.025em; line-height: 1.1; }
.oc-articles-final span { display: block; max-width: 760px; color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.5; }
.oc-articles-final a { display: inline-flex; min-width: 190px; min-height: 48px; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 11px; color: #102d47 !important; background: var(--articles-gold); font-size: 14px; font-weight: 900; text-decoration: none !important; box-shadow: 0 8px 20px rgba(218,157,0,.18); }
body.ocenchik-articles-page .site-footer { margin-top: 0; }

@media (max-width: 980px) {
  .oc-articles-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .oc-articles-hero { padding: 10px 0 24px; }
  .oc-articles-breadcrumbs { margin-bottom: 10px; }
  .oc-articles-hero-box { grid-template-columns: 1fr; padding: 31px 22px; }
  .oc-articles-hero h1 { font-size: clamp(36px,10.5vw,49px); }
  .oc-articles-hero-box > div:first-child > span { font-size: 14px; }
  .oc-articles-hero-stat { width: 100%; min-height: 105px; }
  .oc-articles-search { grid-template-columns: 1fr; }
  .oc-articles-search button { min-height: 44px; }
  .oc-articles-list-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .oc-articles-list-head h2 { font-size: 30px; }
  .oc-articles-grid { grid-template-columns: 1fr; }
  .oc-articles-card-body { min-height: 205px; }
  .oc-articles-final { padding-bottom: 52px; }
  .oc-articles-final > .oc-container { width: min(1180px,calc(100% - 32px)); grid-template-columns: 1fr; padding: 28px 22px; }
  .oc-articles-final a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .oc-articles-card,
  .oc-articles-card-media img { transition: none; }
}
