/* Армпромлит — выставки. Красный акцент, прямоугольные кнопки, белые карточки. */
.apl-news-intro{max-width:1220px;margin:18px auto 24px;font-family:inherit}
.apl-news-intro h1{font-size:clamp(30px,3.2vw,42px);color:#143a50;margin:0 0 12px;font-weight:650;line-height:1.2}
.apl-news-intro p{font-size:16px;color:#5c6e7b;line-height:1.65;margin:0}
.apl-news-list{max-width:1220px;margin:0 auto 50px;box-sizing:border-box}
.apl-news-empty{border:1px solid #e3eaf0;background:#fff;padding:30px;color:#61717b;font-size:16px}
.apl-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.apl-news-card{display:flex;flex-direction:column;border:1px solid #e3eaf0;background:#fff;min-width:0}
.apl-news-card-image{display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;width:100%;overflow:hidden;background:#eceff1}
.apl-news-card-image img{width:100%;height:100%;object-fit:cover;display:block}
.apl-news-card-placeholder{font-weight:750;letter-spacing:.12em;color:#a6b3bc;font-size:27px}
.apl-news-card-body{display:flex;flex-direction:column;flex:1;padding:21px 20px 20px}
.apl-news-card time{display:block;font-size:12px;font-weight:600;color:#7e909d;margin:0 0 9px}
.apl-news-card h2{font-size:19px!important;line-height:1.33!important;margin:0 0 10px!important;color:#143a50!important;font-weight:650!important}
.apl-news-card h2 a{color:inherit!important;text-decoration:none!important}
.apl-news-card h2 a:hover{color:#cd2122!important}
.apl-news-card p{color:#526776;font-size:14px;line-height:1.65;margin:0 0 20px}
.apl-news-more{display:block;margin-top:auto;width:100%;padding:13px 12px;text-align:center;background:transparent;color:#111!important;border:1px solid #111;text-decoration:none!important;box-sizing:border-box;font:700 12px/1.3 Arial,sans-serif;letter-spacing:.025em}
.apl-news-more:hover,.apl-news-more:focus{background:#111!important;color:#fff!important}
.apl-news-pagination{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;margin:28px 0 0}
.apl-news-pagination .page-numbers{border:1px solid #e3eaf0;color:#26485c;padding:10px 14px;text-decoration:none;background:#fff}
.apl-news-pagination .page-numbers.current{background:#cd2122;color:#fff;border-color:#cd2122}
.apl-news-single-body{max-width:1060px;margin:0 auto;font-size:16px;line-height:1.75;color:#364e5c}
.apl-news-single-body>p{margin:0 0 18px}
.apl-news-hero-photo{margin:0 0 26px}
.apl-news-hero-photo img{display:block;max-width:100%;height:auto;max-height:560px;object-fit:contain;margin:0 auto}
.apl-news-single-body h2{font-size:24px;color:#143a50;line-height:1.35;margin:25px 0 18px}
.apl-news-gallery-public{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.apl-news-gallery-public a{display:flex;aspect-ratio:4/3;overflow:hidden;border:1px solid #e3eaf0;background:#f6f7f8}
.apl-news-gallery-public a span,.apl-news-gallery-public a img{display:block;width:100%;height:100%;object-fit:cover}
.apl-news-single-videos{margin-top:35px}
.apl-news-video-frame{position:relative;padding-top:56.25%;width:100%;margin:0 0 20px;background:#111}
.apl-news-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.apl-news-back{margin-top:40px!important;padding-top:22px;border-top:1px solid #dfe6eb}
.apl-news-back a{color:#cd2122!important;text-decoration:none!important;font-weight:700}
@media(max-width:850px){.apl-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.apl-news-grid{grid-template-columns:1fr;gap:15px}.apl-news-card-body{padding:16px}.apl-news-gallery-public{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.apl-news-intro h1{font-size:30px}}


/* v1.2: precise Kallyas catalog banner copied to the exhibitions page.
   Source on staging: catalog page #2205 custom CSS; image is the SAME vd1.jpg. */
html body.page-id-2264 #page_header{
 background-color:#1d1f40!important;
 background-image:none!important;
 overflow:hidden!important;
 position:relative!important;
}
html body.page-id-2264 #page_header .bgback{
 background-image:linear-gradient(rgba(29,31,64,.80),rgba(29,31,64,.80)),url("https://armpromlit.ru/wp-content/uploads/2024/02/vd1.jpg")!important;
 background-position:center center!important;
 background-size:cover!important;
 background-repeat:no-repeat!important;
}
html body.page-id-2264 #page_header:after{
 content:""!important;
 position:absolute!important;
 bottom:0!important;
 left:0!important;
 right:0!important;
 height:31px!important;
 z-index:2!important;
 background:#f4f4f4!important;
 clip-path:polygon(0 8%,48% 100%,100% 8%,100% 100%,0 100%)!important;
 pointer-events:none!important;
}
html body.page-id-2264 #page_header .subheader-maintitle,
html body.page-id-2264 #page_header .subheader-maintitle a,
html body.page-id-2264 #page_header .breadcrumbs,
html body.page-id-2264 #page_header .breadcrumbs a{
 color:#fff!important;
}
/* Undo earlier gray page-only header overrides (normal Kallyas overlay). */
html body.page-id-2264 #header,
html body.page-id-2264 .site-header{
 background:transparent!important;
 background-color:transparent!important;
 background-image:none!important;
}
html body.page-id-2264 .page-subheader,
html body.page-id-2264 .ph-content-wrap,
html body.page-id-2264 #page_header .ph-content-wrap{
 background:transparent!important;
 background-color:transparent!important;
 background-image:none!important;
 color:#fff!important;
}
html body.page-id-2264 #page_header h1,
html body.page-id-2264 #page_header .page-title,
html body.page-id-2264 .page-subheader h1{
 color:#fff!important;
}
/* The exact layout used for catalog: no sidebar, full content width. */
html body.page-id-2264 #content .sidebar,
html body.page-id-2264 #content aside.sidebar,
html body.page-id-2264 #content #sidebar,
html body.page-id-2264 #content .zn_sidebar{
 display:none!important;
}
html body.page-id-2264 #content .container>.row>*:not(.clearfix):first-child{
 width:100%!important;
 max-width:100%!important;
 float:none!important;
}
/* News previews: small left thumbnail, title and copy to the right. */
html body.page-id-2264 .apl-news-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
html body.page-id-2264 .apl-news-grid .apl-news-card{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;width:100%!important;min-height:175px!important;align-items:stretch!important}
html body.page-id-2264 .apl-news-card .apl-news-card-image{display:flex!important;flex:0 0 205px!important;width:205px!important;min-width:205px!important;max-width:205px!important;min-height:175px!important;height:auto!important;aspect-ratio:auto!important;overflow:hidden!important}
html body.page-id-2264 .apl-news-card .apl-news-card-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
html body.page-id-2264 .apl-news-card .apl-news-card-body{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-width:0!important;padding:17px 22px!important}
html body.page-id-2264 .apl-news-card .apl-news-card-body .apl-news-more{display:inline-flex!important;align-self:flex-start!important;width:auto!important;min-width:175px!important;margin:auto 0 0!important;padding:10px 16px!important;text-align:center!important;justify-content:center!important}
@media(max-width:640px){
 html body.page-id-2264 .apl-news-card .apl-news-card-image{flex-basis:110px!important;width:110px!important;min-width:110px!important;max-width:110px!important;min-height:155px!important}
 html body.page-id-2264 .apl-news-card .apl-news-card-body{padding:12px!important}
 html body.page-id-2264 .apl-news-card .apl-news-card-body h2{font-size:15px!important}
 html body.page-id-2264 .apl-news-card .apl-news-card-body .apl-news-more{min-width:0!important;padding:9px 10px!important;font-size:10px!important}
}

/* v1.3 — individual exhibition page: match the catalog header exactly. */
html body.single-apl_news #page_header{
  position:relative!important;
  overflow:hidden!important;
  background:#1d1f40!important;
  background-image:none!important;
}
html body.single-apl_news #page_header .bgback{
  background-image:linear-gradient(rgba(29,31,64,.80),rgba(29,31,64,.80)),url("https://armpromlit.ru/wp-content/uploads/2024/02/vd1.jpg")!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
html body.single-apl_news #page_header::after{
  content:""!important;
  position:absolute!important;
  z-index:2!important;
  bottom:0!important;
  left:0!important;
  right:0!important;
  height:31px!important;
  background:#f4f4f4!important;
  clip-path:polygon(0 8%,48% 100%,100% 8%,100% 100%,0 100%)!important;
  pointer-events:none!important;
}
html body.single-apl_news #header,
html body.single-apl_news .site-header,
html body.single-apl_news .page-subheader,
html body.single-apl_news .ph-content-wrap{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
}
html body.single-apl_news #page_header .breadcrumbs,
html body.single-apl_news #page_header .breadcrumbs a,
html body.single-apl_news #page_header .subheader-maintitle{color:#fff!important}
/* The long article title must not repeat in the masthead. Replace it with the section name. */
html body.single-apl_news #page_header .subheader-maintitle{
  font-size:0!important;
  line-height:0!important;
  max-width:100%!important;
  overflow:visible!important;
}
html body.single-apl_news #page_header .subheader-maintitle *{font-size:0!important;line-height:0!important}
html body.single-apl_news #page_header .subheader-maintitle::after{
  content:"ВЫСТАВКИ";
  display:block;
  font-size:31px!important;
  line-height:1.2!important;
  color:#fff!important;
  font-weight:400!important;
}
html body.single-apl_news #page_header .breadcrumbs li:last-child,
html body.single-apl_news #page_header .breadcrumbs .breadcrumb-item:last-child{
  max-width:330px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
/* Remove the old blog sidebar and stretch the actual article content. */
html body.single-apl_news #sidebar,
html body.single-apl_news #content .sidebar,
html body.single-apl_news #content aside.sidebar,
html body.single-apl_news #content .zn_sidebar,
html body.single-apl_news #content .zn_sidebar_right,
html body.single-apl_news #content .sidebar-right,
html body.single-apl_news #content aside.widget-area{display:none!important}
html body.single-apl_news #content .container>.row>.col-md-9,
html body.single-apl_news #content .container>.row>.col-md-8,
html body.single-apl_news #content .container>.row>.col-sm-9,
html body.single-apl_news #content .container>.row>.col-sm-8,
html body.single-apl_news #content .container>.row>.col-lg-9{
  width:100%!important;
  max-width:100%!important;
  flex:0 0 100%!important;
  float:none!important;
}
/* Keep the article's single, concise heading and gallery comfortably readable. */
html body.single-apl_news #content h1.entry-title,
html body.single-apl_news #content h2.entry-title,
html body.single-apl_news #content .post-title,
html body.single-apl_news #content .kl-blog-item-title,
html body.single-apl_news #content .zn-blog-itemTitle,
html body.single-apl_news #content .blog-post-title,
html body.single-apl_news #content .entry-header h1{
  max-width:1060px!important;
  font-size:clamp(25px,2.8vw,34px)!important;
  line-height:1.32!important;
  font-weight:600!important;
  color:#163c50!important;
  overflow-wrap:anywhere!important;
  margin:4px 0 22px!important;
}
html body.single-apl_news #content .post-details,
html body.single-apl_news #content .post-details-elm,
html body.single-apl_news #content .post-info,
html body.single-apl_news #content .entry-meta,
html body.single-apl_news #content .kl-blog-item-meta,
html body.single-apl_news #content .blog-item-details{
  display:none!important;
}
html body.single-apl_news .apl-news-single-body{
  width:100%!important;
  max-width:1060px!important;
  margin:0 auto!important;
  font-size:16px!important;
  line-height:1.7!important;
  color:#415765!important;
}
html body.single-apl_news .apl-news-standfirst{
  font-size:17px!important;
  line-height:1.65!important;
  margin:0 0 25px!important;
  color:#354c5a!important;
}
html body.single-apl_news .apl-news-single-body .wp-block-gallery{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  gap:14px!important;
  margin:20px auto!important;
}
html body.single-apl_news .apl-news-single-body img{
  max-width:100%!important;
  height:auto!important;
}
@media(max-width:700px){
  html body.single-apl_news #page_header .subheader-maintitle::after{font-size:24px!important}
  html body.single-apl_news .apl-news-single-body{padding:0 4px!important}
  html body.single-apl_news .apl-news-standfirst{font-size:15px!important}
}
