/* Premium comparison block shared by the TEPSEY editorial pages */
.compare {
  counter-reset: compare-row;
  margin: 42px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-top: 3px solid var(--orange);
}
.compare > div {
  counter-increment: compare-row;
  grid-template-columns: .82fr 1.25fr 1.25fr;
  min-height: 104px;
  border: 0;
  border-bottom: 1px solid rgba(22,59,50,.18);
  transition: background .25s ease, transform .25s ease;
}
.compare > div:not(.compare-head):hover {
  position: relative;
  z-index: 1;
  background: rgba(240,140,85,.07);
  transform: none;
}
.compare > div > * {
  display: flex;
  align-items: center;
  padding: 22px 24px;
  border-right: 1px solid rgba(22,59,50,.14);
  line-height: 1.65;
}
.compare > div > *:last-child { border-right: 0; }
.compare > div > span {
  position: relative;
  padding-left: 58px;
  font: 17px/1.35 var(--serif);
}
.compare > div > span::before {
  content: '0' counter(compare-row);
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font: 10px var(--sans);
  letter-spacing: .08em;
}
.compare .compare-head {
  counter-increment: none;
  min-height: 58px;
  background: #e9e3d8;
  color: var(--green);
  border-bottom: 1px solid rgba(22,59,50,.24);
}
.compare .compare-head b {
  border-color: rgba(22,59,50,.16);
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: .72;
}
@media(max-width:800px){
  .compare { overflow: visible; background: transparent; box-shadow: none; }
  .compare .compare-head { display: none; }
  .compare > div {
    display: block;
    min-width: 0;
    min-height: 0;
    margin-bottom: 12px;
    padding: 23px;
    background: #f4f0e7;
    border: 0;
    box-shadow: 0 12px 30px rgba(16,47,39,.07);
  }
  .compare > div:not(.compare-head):hover { transform: none; }
  .compare > div > * { display: block; padding: 0; border: 0; }
  .compare > div > span { padding: 0 0 16px 34px; font-size: 20px; }
  .compare > div > span::before { left: 0; top: 7px; transform: none; }
  .compare > div > p { position: relative; margin: 0; padding: 13px 0 13px 110px; border-top: 1px solid var(--line); font-size: 12px; }
  .compare > div > p::before { position: absolute; left: 0; top: 13px; width: 95px; color: #8f5b40; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .compare > div > p:nth-of-type(1)::before { content: 'Смысл'; }
  .compare > div > p:nth-of-type(2)::before { content: 'Проверить'; }
}

/* Единые, различимые переходы на основной сайт и в каталог. */
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:none}
.header-actions a{min-height:43px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);padding:9px 13px;font-size:12px;font-weight:700;white-space:nowrap;text-align:center;transition:background .2s,border-color .2s}
.header-actions .main-site-link{color:var(--orange);border-color:var(--orange)}
.header-actions .header-link{color:var(--green);width:auto;height:auto;display:inline-flex}
.header-actions .main-site-link:hover{background:#f8ece2}
.header-actions .header-link:hover{background:#edf2eb;border-color:var(--green)}
@media(max-width:1050px){.header nav{gap:14px}.header-actions a{font-size:11px;padding-inline:10px}}
@media(max-width:800px){.header-actions .header-link{width:auto;height:auto;font-size:12px}}
@media(max-width:560px){
.header{height:auto;min-height:66px;display:grid;grid-template-columns:1fr;justify-items:start;padding:12px 5vw 0}
.header .brand-logo{width:116px;height:auto}
.header-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:11px 0 12px}
.header-actions a,.header-actions .header-link{min-height:45px;display:inline-flex;align-items:center;font-size:11px;white-space:normal;padding:8px 7px}
}
