/* Оптэкс - страница раздела «Организация хранения» (тема optex2026), префикс .ox-oh. Только переменные темы. 18.11.2026 */
.ox-oh{--oh-gap:24px;color:var(--text);padding-bottom:var(--section-gap,80px)}
.ox-oh a,.ox-textpage .ox-oh a:not(.ox-btn){color:inherit;text-decoration:none}
.ox-textpage .ox-oh .ox-oh-dir__more,.ox-textpage .ox-oh .ox-oh-card__more,.ox-textpage .ox-oh-seo a,.ox-textpage .ox-oh .ox-oh-card__name a:hover{color:var(--accent)}
.ox-textpage .ox-oh .ox-oh-card__name a{color:var(--ink)}
.ox-oh__lead{max-width:960px;margin:0 0 48px;font-size:20px;line-height:31px;color:var(--ink)}
.ox-oh__block{margin:0 0 64px}
.ox-oh__h2{margin:0 0 24px;padding-top:14px;border-top:1.5px solid var(--ink);font-size:30px;line-height:36px;font-weight:700;color:var(--ink)}

/* направления */
.ox-oh-dirs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--oh-gap)}
.ox-oh-dir{display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);text-decoration:none;transition:box-shadow .2s,transform .2s}
.ox-oh-dir:hover{box-shadow:var(--shadow-card);transform:translateY(-2px)}
.ox-oh-dir__pic{display:block;aspect-ratio:4/3;overflow:hidden;background:#fff;border-bottom:1px solid var(--border)}
.ox-oh-dir__pic img{display:block;width:100%;height:100%;object-fit:contain;padding:12px}
.ox-oh-dir__body{display:flex;flex-direction:column;gap:8px;padding:18px 20px 20px;flex:1}
.ox-oh-dir__name{font-size:20px;line-height:26px;font-weight:700;color:var(--ink)}
.ox-oh-dir__text{font-size:15px;line-height:23px;flex:1}
.ox-oh-dir__more{font-weight:600;color:var(--accent)}

/* карточки статей */
.ox-oh-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--oh-gap)}
.ox-oh-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-top:1.5px solid var(--ink)}
.ox-oh-card__pic{display:block;aspect-ratio:16/10;overflow:hidden}
.ox-oh-card__pic img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
.ox-oh-card:hover .ox-oh-card__pic img{transform:scale(1.03)}
.ox-oh-card__body{display:flex;flex-direction:column;gap:10px;padding:20px 22px 22px;flex:1}
.ox-oh-card__date{font-family:ui-monospace,monospace;font-size:11px;line-height:16px;text-transform:uppercase;letter-spacing:.06em;color:#8a95a3}
.ox-oh-card__name{margin:0;font-size:21px;line-height:28px;font-weight:700}
.ox-oh-card__name a{color:var(--ink);text-decoration:none}
.ox-oh-card__name a:hover{color:var(--accent)}
.ox-oh-card__text{margin:0;font-size:15px;line-height:23px;flex:1}
.ox-oh-card__more{font-weight:600;color:var(--accent);text-decoration:none}
.ox-oh-card--main{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.ox-oh-card--main .ox-oh-card__pic{aspect-ratio:auto;min-height:340px}
.ox-oh-card--main .ox-oh-card__body{padding:32px 36px;justify-content:center}
.ox-oh-card--main .ox-oh-card__name{font-size:30px;line-height:38px}
.ox-oh-card--main .ox-oh-card__text{flex:0;font-size:17px;line-height:27px}

/* SEO-текст */
.ox-oh-seo__cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 56px}
.ox-oh-seo p{margin:0 0 16px;font-size:16px;line-height:26px}
.ox-oh-seo h3{margin:24px 0 10px;font-size:20px;line-height:26px;color:var(--ink)}
.ox-oh-seo__cols>div>h3:first-child{margin-top:0}
.ox-oh-seo a{text-decoration:underline;text-underline-offset:3px;color:var(--accent)}

/* FAQ */
.ox-oh-faq__list{border-top:1px solid var(--border)}
.ox-oh-faq__item{border-bottom:1px solid var(--border);background:#fff}
.ox-oh-faq__item summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;font-size:18px;line-height:25px;font-weight:600;color:var(--ink);cursor:pointer}
.ox-oh-faq__item summary::-webkit-details-marker{display:none}
.ox-oh-faq__item summary::after{content:"+";flex:none;font-size:24px;line-height:1;color:var(--accent);transition:transform .2s}
.ox-oh-faq__item[open] summary::after{transform:rotate(45deg)}
.ox-oh-faq__item p{margin:0;padding:0 22px 20px;font-size:16px;line-height:26px}

@media (max-width:1100px){
  .ox-oh-dirs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ox-oh-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:768px){
  .ox-oh__lead{font-size:17px;line-height:27px;margin-bottom:36px}
  .ox-oh__block{margin-bottom:48px}
  .ox-oh__h2{font-size:24px;line-height:30px}
  .ox-oh-card--main{display:flex}
  .ox-oh-card--main .ox-oh-card__pic{aspect-ratio:16/10;min-height:0}
  .ox-oh-card--main .ox-oh-card__body{padding:20px 22px 22px}
  .ox-oh-card--main .ox-oh-card__name{font-size:22px;line-height:29px}
  .ox-oh-seo__cols{grid-template-columns:1fr}
}
@media (max-width:560px){
  .ox-oh{--oh-gap:16px}
  .ox-oh-dirs,.ox-oh-list{grid-template-columns:1fr}
  .ox-oh-dir{flex-direction:row}
  .ox-oh-dir__pic{flex:none;width:110px;aspect-ratio:auto;border-bottom:0;border-right:1px solid var(--border)}
  .ox-oh-dir__pic img{padding:6px}
  .ox-oh-dir__body{padding:14px 16px}
  .ox-oh-dir__name{font-size:18px;line-height:24px}
  .ox-oh-dir__text{display:none}
  .ox-oh-faq__item summary{padding:16px;font-size:16px}
  .ox-oh-faq__item p{padding:0 16px 16px}
}

.ox-oh .ox-oh-card a.ox-oh-card__more,.ox-oh .ox-oh-dir .ox-oh-dir__more{color:var(--accent)}
