/* =========================================================
   Страница публикации из общего раздела (portalpedagoga.ru, 2026)
   Подключается только из publ_new.php при $url=='portalpedagoga.ru'
   ========================================================= */

/* PDF встроен атрибутом width=900 — на телефоне не должен расширять страницу */
.s2026-main object[type="application/pdf"] {
  display: block;
  width: 100% !important;
  max-width: 900px;
  height: 80vh !important;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f3f6f9;
}

/* кнопки под публикацией — в один ряд */
.publ-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  clear: both;
}
body .s2026-main .publ-actions a.boton1 {
  margin: 0 !important;
}

@media (max-width: 600px) {
  .publ-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  body .s2026-main .publ-actions a.boton1 {
    width: 100% !important;
    min-width: 0;
  }
  .s2026-main object[type="application/pdf"] {
    height: 65vh !important;
    min-height: 360px;
  }
}
