/**
 * School 435 — home.
 *
 * Migrated from Site Editor global CSS. Repeated named sections are retained
 * in their original cascade order until they can be regression-tested.
 */

/* school435-brief-layout-start */
#novosti .school435-brief-cell>.wp-block-columns{
  display:grid;
  box-sizing:border-box;
  width:100%;
  max-width:none;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:start;
  column-gap:0;
  row-gap:0;
  margin:0;
}
#novosti .school435-brief-cell>.wp-block-columns>.wp-block-column{
  display:contents;
}
#novosti .school435-brief-cell .wp-block-post-date{
  grid-column:1;
  grid-row:1;
  margin:0;
}
#novosti .school435-brief-cell .wp-block-post-title{
  grid-column:1;
  grid-row:2;
  box-sizing:border-box;
  padding-right:var(--wp--preset--spacing--40);
  margin:var(--wp--preset--spacing--20) 0 0;
}
#novosti .school435-brief-cell .wp-block-post-excerpt{
  grid-column:2;
  grid-row:2;
  align-self:start;
  margin:var(--wp--preset--spacing--20) 0 0;
}
#novosti .school435-brief-cell .wp-block-post-excerpt__excerpt{
  margin:0;
}
@media (max-width:600px){
  #novosti .school435-brief-cell>.wp-block-columns{
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto auto auto;
  }
  #novosti .school435-brief-cell .wp-block-post-date{
    grid-column:1;
    grid-row:1;
  }
  #novosti .school435-brief-cell .wp-block-post-title{
    grid-column:1;
    grid-row:2;
    padding-right:0;
  }
  #novosti .school435-brief-cell .wp-block-post-excerpt{
    grid-column:1;
    grid-row:3;
    margin-top:var(--wp--preset--spacing--30);
  }
}
/* school435-brief-layout-end */

/* school435-lead-image-start */
#novosti .school435-news-lead>.wp-block-post-featured-image{
  width:100%;
  max-width:100%;
  margin:0;
}
#novosti .school435-news-lead>.wp-block-post-featured-image img{
  display:block;
}
/* school435-lead-image-end */

/* school435-news-labels-start */
#novosti .school435-news-main:before{
  content:none;
  display:none;
}
#novosti .school435-aside-head{
  box-sizing:border-box;
  padding:var(--wp--preset--spacing--40);
  border:0;
}
#novosti .school435-aside-head p{
  margin:0;
  font-family:"Bounded",Arial,sans-serif;
  font-size:var(--school435-step-2);
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.015em;
  text-transform:none;
}
/* school435-news-labels-end */

/* school435-news-closing-rows-start */
#novosti .school435-brief-list>li:last-child .wp-block-post-excerpt{
  display:none;
}
#novosti .school435-brief-list>li:first-child .school435-brief-cell{
  border-top:0;
}
#novosti .school435-all-news-link{
  box-sizing:border-box;
  max-width:none;
  margin:0;
}
#novosti .school435-brief-table,
#novosti .school435-brief-list{
  display:grid;
  gap:var(--school435-rule-strong);
  background:var(--school435-surface-canvas);
}
@media (min-width:782px){
  #novosti .school435-brief-table{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }
  #novosti .school435-brief-table>.wp-block-query,
  #novosti .school435-brief-table>.wp-block-query>.school435-brief-list{
    display:contents;
  }
  #novosti .school435-brief-list>li{
    grid-column:1 / -1;
  }
  #novosti .school435-brief-list>li:last-child{
    grid-column:1;
  }
  #novosti .school435-brief-list>li:last-child .school435-brief-cell{
    height:100%;
  }
  #novosti .school435-brief-list>li:last-child .wp-block-columns{
    display:block;
  }
  #novosti .school435-brief-list>li:last-child .wp-block-post-title{
    width:100%;
    padding-right:0;
  }
  #novosti .school435-all-news-link{
    grid-column:2;
    align-self:stretch;
    display:flex;
    align-items:center;
    padding:16px 24px;
    border:0;
  }
}
@media (max-width:781px){
  #novosti .school435-all-news-link{
    display:flex;
    align-items:center;
    padding:16px 24px;
    border:0;
  }
}
/* school435-news-closing-rows-end */

/* school435-hero-heading-scale-start */
#glavnoe-seychas .school435-hero-kicker,
#glavnoe-seychas .school435-display-heading,
#glavnoe-seychas .school435-display-copy{
  margin:0;
}
#glavnoe-seychas .school435-display-query{
  margin-block-start:var(--school435-contract-stack-normal);
}
#glavnoe-seychas .school435-display-heading{
  font-size:clamp(3rem,6vw,5.5rem);
  font-weight:700;
  line-height:.96;
  letter-spacing:-.035em;
}
#glavnoe-seychas .school435-display-copy{
  font-size:clamp(1.15rem,2vw,1.5rem);
  line-height:1.35;
}
#glavnoe-seychas .school435-action-cell{
  font-size:var(--school435-step-1);
  line-height:1.35;
}
/* school435-hero-heading-scale-end */

/* school435-title-hover-start */
.entry-content .wp-block-post-title a{
  --school435-title-highlight:#f4b78f;
  background-image:linear-gradient(90deg,var(--school435-title-highlight),var(--school435-title-highlight));
  background-position:left center;
  background-repeat:no-repeat;
  background-size:0 92%;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
  text-decoration-line:none;
  transition:background-size .42s cubic-bezier(.22,.75,.18,1);
}
#novosti .wp-block-post-title a{
  --school435-title-highlight:#ae431f;
}
@media (hover:hover){
  .entry-content .wp-block-post-title a:hover{
    background-size:100% 92%;
    text-decoration-line:none;
  }
}
.entry-content .wp-block-post-title a:focus-visible{
  background-size:100% 92%;
  text-decoration-line:none;
}
@media (prefers-reduced-motion:reduce){
  .entry-content .wp-block-post-title a{
    transition:none;
  }
}
/* school435-title-hover-end */

/* school435-orange-accents-start */
.school435-brand-title{
  width:100%;
  margin:0;
  font-family:"Bounded",Arial,sans-serif;
  font-size:var(--school435-step-7);
  font-weight:700;
  line-height:.95;
  letter-spacing:-.02em;
}
@media (min-width:1440px){
  .school435-brand-title{
    font-size:clamp(5.6rem,6.2vw,6.5rem);
  }
}
.school435-brand-title a{
  --school435-brand-radius:clamp(5.7rem,9.9vw,9rem);
  --school435-brand-field:calc(3 * var(--school435-brand-radius));
  position:relative;
  isolation:isolate;
  display:inline-block;
  width:fit-content;
  max-width:100%;
  color:var(--wp--preset--color--contrast);
  font-family:inherit;
  font-weight:700;
  letter-spacing:inherit;
  text-decoration:none;
}
.school435-brand-title .school435-brand-number{
  color:var(--wp--preset--color--accent-7);
}
.school435-brand-base,
.school435-brand-invert{
  display:block;
  white-space:nowrap;
}
.school435-brand-invert{
  position:absolute;
  z-index:1;
  inset:calc(-1 * var(--school435-brand-field));
  padding:var(--school435-brand-field);
  overflow:hidden;
  background:var(--wp--preset--color--base);
  color:var(--wp--preset--color--accent-3);
  clip-path:circle(var(--school435-brand-radius) at var(--school435-brand-x,50%) var(--school435-brand-y,50%));
  pointer-events:none;
  will-change:clip-path;
}
.school435-brand-invert::after{
  content:"";
  position:absolute;
  top:var(--school435-brand-y,50%);
  left:var(--school435-brand-x,50%);
  box-sizing:border-box;
  width:calc(2 * var(--school435-brand-radius));
  height:calc(2 * var(--school435-brand-radius));
  border:2px solid var(--wp--preset--color--accent-3);
  border-radius:50%;
  transform:translate(-50%,-50%);
}
.school435-brand-invert .school435-brand-number{
  color:var(--wp--preset--color--accent-3);
}
@media (hover:hover) and (pointer:fine){
  .school435-brand-title a.school435-brand-pointer{
    cursor:none;
  }
}
.school435-brand-title a:focus-visible{
  outline:3px solid var(--wp--preset--color--accent-7);
  outline-offset:6px;
}
@media (max-width:520px){
  .school435-brand-title{
    font-size:clamp(2.55rem,13.5vw,3.6rem);
  }
}
@media (prefers-reduced-motion:reduce){
  .school435-brand-invert{
    will-change:auto;
  }
}
#novosti .school435-aside-head>p{
  color:var(--wp--preset--color--accent-7);
}
#novosti .school435-all-news-link{
  background-color:var(--school435-surface-tile-orange);
  color:var(--school435-ink-on-orange);
}
#novosti .school435-all-news-link a{
  color:var(--school435-ink-on-orange);
}
#glavnoe-seychas .school435-action-cell a strong:after,
#quick-links h3 a:after,
#novosti .school435-important-cell .wp-block-post-excerpt__more-link:after{
  background-color:var(--wp--preset--color--accent-7);
  opacity:.92;
}
/* school435-orange-accents-end */

/* school435-lead-story-layout-start */
#novosti .school435-news-lead>.wp-block-group{
  display:block;
  box-sizing:border-box;
  width:100%;
  max-width:none;
}
#novosti .school435-news-lead>.wp-block-group>.wp-block-group{
  width:100%;
  max-width:none;
  margin:0;
}
#novosti .school435-news-lead>.wp-block-group>.wp-block-post-title{
  width:100%;
  max-width:none;
  margin:var(--wp--preset--spacing--20) 0 0;
}
#novosti .school435-news-lead>.wp-block-group>.wp-block-post-excerpt{
  width:100%;
  max-width:none;
  margin:var(--wp--preset--spacing--30) 0 0;
}
#novosti .school435-news-lead .wp-block-post-excerpt__excerpt{
  margin-top:0;
}
/* school435-lead-story-layout-end */
