/* prodana.org - токены из SITE_SPEC раздел 6 (цвета и шрифты заданы на :root). */
@font-face { font-family: "Open Sans"; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/open-sans-600.woff2-latin.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/open-sans-700.woff2-latin.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/roboto-400.woff2-latin.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/roboto-500.woff2-latin.woff2") format("woff2"); }

:root {
  --prd-bg: #FFFFFF;
  --prd-text: #000000;
  --prd-accent: #323292;
  --prd-dark: #000000;
  --prd-sec: #F5F8FA;
  --prd-sec2: #F2F5F6;
  --prd-muted: #718096;
  --prd-muted2: #A0AEC0;
  --prd-line: #E2E8F0;
  --prd-divider: #EEEEEE;
  --prd-tag: #DB2777;
}

:root:not([data-theme="light"]) { color-scheme: light; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--prd-bg);
  color: var(--prd-text);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--prd-accent); }
h1, h2, h3, .prd-logo {
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--prd-text);
  overflow-wrap: anywhere;
}
h1 { font-size: 36px; font-weight: 700; line-height: 1.2; margin: 8px 0 16px; }
h2 { font-size: 26px; font-weight: 600; line-height: 1.3; margin: 48px 0 16px; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.35; margin: 8px 0; }
p { margin: 0 0 16px; }
ul { padding-left: 22px; margin: 0 0 16px; }
li::marker { color: var(--prd-accent); }

.prd-wrap { box-sizing: border-box; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Шапка: липкая, текстовый логотип, меню в одну строку */
.prd-head {
  position: sticky; top: 0; z-index: 10;
  background: var(--prd-bg);
  border-bottom: 1px solid var(--prd-line);
  height: 76px;
}
.prd-headin { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.prd-logo { font-weight: 700; font-size: 22px; color: var(--prd-accent); text-decoration: none; }
.prd-nav { display: flex; align-items: center; gap: 28px; }
.prd-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.prd-nav ul a, .prd-contact {
  font-family: "Roboto", Arial, sans-serif; font-size: 15px; color: var(--prd-text);
  text-decoration: none; padding: 6px 0;
}
.prd-nav ul a[aria-current="page"] { color: var(--prd-accent); text-decoration: underline; text-underline-offset: 6px; }
.prd-nav ul a:hover, .prd-contact:hover { color: var(--prd-accent); text-decoration: underline; }
.prd-burger {
  display: none; background: none; border: 1px solid var(--prd-line); border-radius: 6px;
  padding: 8px 14px; font: 500 15px "Roboto", Arial, sans-serif; color: var(--prd-text); cursor: pointer;
}

/* Тело: лента/текст слева, боковая колонка справа */
.prd-body { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: 40px; padding-top: 24px; padding-bottom: 64px; justify-content: space-between; }
.prd-main { min-width: 0; }
.prd-side { min-width: 0; }

.prd-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; font-size: 13px; color: var(--prd-muted); }
.prd-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--prd-muted2); }
.prd-crumbs a { color: var(--prd-muted); text-decoration: none; }
.prd-crumbs a:hover { text-decoration: underline; }
.prd-crumbs li[aria-current] { color: var(--prd-text); }

.prd-h1-home { font-size: 42px; }
.prd-tag { display: inline-block; font-size: 13px; color: var(--prd-muted); text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 2px solid var(--prd-tag); padding-bottom: 2px; margin: 8px 0 4px; }
.prd-sort { font-size: 14px; color: var(--prd-muted); margin: 24px 0 0; }
.prd-icon { display: block; margin-bottom: 12px; }
.prd-hero { margin: 0 0 24px; }
.prd-hero img { width: 100%; border-radius: 8px; }

.prd-lead { font-size: 18px; color: var(--prd-muted); line-height: 1.6; margin-bottom: 24px; }

.prd-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 32px 0; }
.prd-box { border: 1px solid var(--prd-line); border-radius: 8px; padding: 20px; background: var(--prd-bg); }
.prd-box h3 { font-size: 18px; margin-top: 0; }
.prd-box p { font-size: 15px; color: var(--prd-muted); margin: 0; }

.prd-feed { border-top: 1px solid var(--prd-divider); margin: 24px 0 8px; }
.prd-card { border-bottom: 1px solid var(--prd-divider); padding: 24px 0; }
.prd-card h3 { font-size: 20px; margin: 4px 0 8px; }
.prd-card h3 a { color: var(--prd-text); text-decoration: none; }
.prd-card h3 a:hover { color: var(--prd-accent); }
.prd-meta { font-size: 13px; color: var(--prd-muted); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 4px; }
.prd-card .prd-lead { font-size: 16px; margin: 0 0 8px; }
.prd-readmore { color: var(--prd-accent); font-weight: 500; text-decoration: none; }
.prd-readmore:hover { text-decoration: underline; }

.prd-faq { margin-top: 48px; border-top: 1px solid var(--prd-line); }
.prd-label { font-size: 13px; color: var(--prd-muted); text-transform: uppercase; letter-spacing: 0.06em; margin: 24px 0 8px; }
.prd-q { border-bottom: 1px solid var(--prd-line); padding: 14px 0; }
.prd-q summary { cursor: pointer; font-family: "Open Sans", Arial, sans-serif; font-weight: 600; font-size: 17px; list-style: none; position: relative; padding-right: 28px; }
.prd-q summary::-webkit-details-marker { display: none; }
.prd-q summary::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--prd-accent); font-size: 22px; }
.prd-q[open] summary::after { content: "-"; }
.prd-q p { margin: 10px 0 0; }

.prd-author { background: var(--prd-sec); border-radius: 8px; padding: 20px; }
.prd-author-under { margin: 40px 0 0; }
.prd-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--prd-sec2); margin: 0 0 12px; display: flex; align-items: center; justify-content: center; }
.prd-figure { margin: 24px 0 32px; }
.prd-figure img { width: 100%; height: auto; border-radius: 0; }
.prd-figure figcaption { font-size: 13px; color: var(--prd-muted); margin-top: 8px; text-align: center; }
.prd-box2 { border-top: 1px solid var(--prd-line); padding: 18px 0 0; margin-top: 18px; }
.prd-box2 ul { list-style: none; padding: 0; margin: 0; }
.prd-box2 li { padding: 6px 0; font-size: 15px; }
.prd-box2 a { text-decoration: none; }
.prd-box2 a:hover { text-decoration: underline; }
.prd-related { font-size: 15px; margin-top: 32px; }

.prd-form p { margin-bottom: 12px; }
.prd-form label { display: block; font-size: 14px; color: var(--prd-muted); margin-bottom: 4px; }
.prd-form input, .prd-form textarea {
  width: 100%; max-width: 480px; box-sizing: border-box; font: 16px "Roboto", Arial, sans-serif;
  padding: 10px 12px; border: 1px solid var(--prd-line); border-radius: 6px; color: var(--prd-text);
}
.prd-btn { background: var(--prd-accent); color: #FFFFFF; border: 0; border-radius: 6px; padding: 10px 18px; font: 500 15px "Roboto", Arial, sans-serif; cursor: pointer; }

/* Подвал */
.prd-foot { background: var(--prd-sec); border-top: 1px solid var(--prd-line); padding: 48px 0; }
.prd-footin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.prd-foot p { font-size: 15px; margin: 0 0 10px; }
.prd-flogo { font: 700 22px "Open Sans", Arial, sans-serif; color: var(--prd-accent); }
.prd-ul { list-style: none; padding: 0; }
.prd-ul a { color: var(--prd-text); text-decoration: none; }
.prd-ul a:hover { text-decoration: underline; }
.prd-copy { border-top: 1px solid var(--prd-line); margin-top: 32px; padding: 18px 0 24px; font-size: 13px; color: var(--prd-muted); }

/* Адаптив: до 900 - боковая колонка под лентой, меню прячется; до 600 - одна колонка, поля 16 */
@media (max-width: 900px) {
  .prd-body { grid-template-columns: minmax(0, 1fr); }
  .prd-burger { display: inline-block; }
  .prd-nav { display: none; position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: flex-start;
    background: var(--prd-bg); border-bottom: 1px solid var(--prd-line); padding: 16px 24px; gap: 8px; }
  .prd-nav.open { display: flex; }
  .prd-nav ul { flex-direction: column; gap: 4px; }
  .prd-head { position: sticky; }
  .prd-three { grid-template-columns: minmax(0, 1fr); }
  .prd-footin { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .prd-wrap { padding: 0 16px; }
  body { font-size: 16px; }
  h1 { font-size: 30px; }
  h2 { font-size: 23px; }
  .prd-headin { height: 68px; }
  .prd-head { height: 68px; }
  .prd-nav { top: 68px; }
}
