/* БЖ44. Публичные виджеты выпусков, все классы с префиксом bzh44- */
:root { color-scheme: light; }
body.bzh44-frame { margin:0; background:transparent; color:#444; font-family:Arial,Helvetica,sans-serif; }
.bzh44-widget { margin:0; padding:0; box-sizing:border-box; font-family:Arial,Helvetica,sans-serif; color:#444; font-size:13px; text-align:left; }
.bzh44-widget * { box-sizing:border-box; }
.bzh44-widget a { color:#624250; text-decoration:underline; }
.bzh44-widget a:hover { color:#bd1c2d; }
.bzh44-widget a:focus-visible { outline:2px solid #ae2133; outline-offset:3px; }
.bzh44-widget img { display:block; height:auto; max-width:100%; }
.bzh44-featured-cover { display:block; width:min(310px,100%); margin:0 0 12px; }
.bzh44-featured-cover img { width:100%; max-width:310px; aspect-ratio:310/408; object-fit:contain; object-position:left top; }
.bzh44-featured-title { font-size:clamp(18px, 2.5vw, 28px); line-height:1.13; font-weight:700; margin:12px 0 8px; overflow-wrap:anywhere; }
.bzh44-featured-subtitle { font-size:16px; line-height:1.35; margin:8px 0 16px; }
.bzh44-featured-label {font-size:13px; margin:8px 0 3px; }
.bzh44-featured-download {font-size:16px; font-weight:700; margin:0 0 13px;}
.bzh44-pdf-more {font-size:13px; line-height:1.45; margin:8px 0;}
.bzh44-covers-grid { display:flex; flex-wrap:wrap; gap:4px; align-items:flex-start; width:100%; max-width:202px; }
.bzh44-covers-grid a {display:block; flex:0 0 59px; width:59px; min-width:0;}
.bzh44-covers-grid img {display:block; width:59px; height:78px; object-fit:cover;}
.bzh44-status {font-size:12px;color:#80552e; line-height:1.4;}
@media (max-width:300px) {.bzh44-featured-title{font-size:20px;}}

/* Cleaner current-issue actions; existing links and archive targets stay intact. */
.bzh44-featured-cover { border-radius:8px; overflow:hidden; }
.bzh44-featured-title { font-family:system-ui,Arial,sans-serif; line-height:1.25; }
.bzh44-featured-subtitle { color:#585f66; }
.bzh44-featured-label { margin-top:16px; font:600 13px/1.4 system-ui,Arial,sans-serif; color:#58616b; }
.bzh44-featured-download a { display:inline-flex; align-items:center; min-height:43px; padding:8px 14px; border-radius:8px; background:#932a30; color:#fff; font:700 14px/1.3 system-ui,Arial,sans-serif; text-decoration:none; }
.bzh44-featured-download a:hover { background:#742026; color:#fff; }
.bzh44-pdf-more { display:inline-block; margin:4px 7px 4px 0; }
.bzh44-pdf-more a { display:inline-block; min-height:36px; padding:7px 9px; border:1px solid #d8d5d2; border-radius:6px; color:#50575e; font:500 12px/1.3 system-ui,Arial,sans-serif; text-decoration:none; }
.bzh44-pdf-more a:hover { border-color:#963339; color:#81272d; }

/* The covers widget receives the sidebar width from its containing iframe. */
@media (min-width:340px) {
  .bzh44-widget[data-bzh44="covers"] .bzh44-covers-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,59px);
    gap:6px;
    width:100%;
    max-width:none;
    justify-content:space-between;
    zoom:1.45;
  }
  .bzh44-widget[data-bzh44="covers"] .bzh44-covers-grid a { width:59px; }
}

/* Current issue: larger cover beside its title and PDF actions on wide pages. */
@media (min-width:620px) {
  .bzh44-widget[data-bzh44="featured"] {
    display:grid;
    grid-template-columns:230px minmax(0,1fr);
    grid-template-rows:repeat(7,min-content) 1fr;
    column-gap:16px;
    min-height:580px;
    align-content:start;
  }
  .bzh44-widget[data-bzh44="featured"] > :not(.bzh44-featured-cover) {
    grid-column:1;
    max-width:230px;
  }
  .bzh44-widget[data-bzh44="featured"] .bzh44-featured-cover {
    grid-column:2;
    grid-row:1 / 9;
    justify-self:center;
    width:min(100%,440px);
    max-width:440px;
    margin:0;
  }
  .bzh44-widget[data-bzh44="featured"] .bzh44-featured-cover img {
    width:100%;
    max-width:none;
    height:auto;
  }
  .bzh44-widget[data-bzh44="featured"] .bzh44-featured-title {
    font-size:24px;
  }
}
