/* v1.12.35.68 — clean final component for Home / Latest materials */
@media (min-width:760px){
  body.home .home-latest-section .home-latest-layout{
    display:grid!important;
    grid-template-columns:minmax(0,1.24fr) minmax(420px,1fr)!important;
    gap:30px!important;
    align-items:start!important;
    height:auto!important;
    min-height:0!important;
  }
  body.home .home-latest-left-zone,
  body.home .home-latest-right-zone{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
  }
  body.home .home-latest-right-zone{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto!important;
    gap:28px!important;
    align-content:start!important;
  }
  body.home .home-latest-section .home-latest-card,
  body.home .home-latest-section .home-latest-card--featured,
  body.home .home-latest-section .home-latest-card--compact,
  body.home .home-latest-layout .home-latest-right-zone .home-latest-card--compact,
  body.home .home-latest-layout .home-latest-right-zone .home-latest-card--compact + .home-latest-card--compact{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    border-radius:12px!important;
    background:#fffdfa!important;
    align-self:start!important;
  }
  body.home .home-latest-section .home-latest-media,
  body.home .home-latest-section .home-latest-card--compact > .home-latest-media:first-child{
    position:relative!important;
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    inset:auto!important;
    transform:none!important;
    line-height:0!important;
    overflow:hidden!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-sizing:border-box!important;
  }
  body.home .home-latest-card--featured .home-latest-media{
    height:300px!important;
    min-height:300px!important;
    max-height:300px!important;
    flex:0 0 300px!important;
  }
  body.home .home-latest-card--compact .home-latest-media{
    height:205px!important;
    min-height:205px!important;
    max-height:205px!important;
    flex:0 0 205px!important;
  }
  body.home .home-latest-section .home-latest-media > img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    object-fit:cover!important;
    border:0!important;
  }
  body.home .home-latest-card.area-zarzadzanie .home-latest-media > img{object-position:center 48%!important;}
  body.home .home-latest-card.area-wspolpraca-i-komunikacja .home-latest-media > img{object-position:center 52%!important;}
  body.home .home-latest-card.area-sprzedaz-i-negocjacje .home-latest-media > img{object-position:center 54%!important;}

  body.home .home-latest-section .home-latest-card .body{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
    box-sizing:border-box!important;
    background:#fffdfa!important;
  }
  body.home .home-latest-card--featured .body{padding:30px 34px 32px!important;}
  body.home .home-latest-card--compact .body{padding:24px 28px 26px!important;}

  body.home .home-latest-card--featured h3{
    margin:0 0 16px!important;
    font-size:clamp(27px,1.85vw,32px)!important;
    line-height:1.09!important;
  }
  body.home .home-latest-card--compact h3{
    margin:0 0 12px!important;
    font-size:clamp(20px,1.32vw,23px)!important;
    line-height:1.12!important;
    display:block!important;
    overflow:visible!important;
    -webkit-line-clamp:unset!important;
  }
  body.home .home-latest-card--featured .home-latest-excerpt{
    margin:0!important;
    font-size:15.5px!important;
    line-height:1.52!important;
    display:block!important;
    overflow:visible!important;
    -webkit-line-clamp:unset!important;
  }
  body.home .home-latest-card--compact .home-latest-excerpt{
    margin:0!important;
    font-size:14.2px!important;
    line-height:1.48!important;
    display:block!important;
    overflow:visible!important;
    -webkit-line-clamp:unset!important;
  }
  body.home .home-latest-footer{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:12px!important;
    margin-top:20px!important;
  }
  body.home .home-latest-card--compact .home-latest-footer{margin-top:18px!important;gap:11px!important;}
  body.home .home-latest-card .home-latest-meta{
    margin:0!important;
    font-size:12.5px!important;
    line-height:1.35!important;
  }
  body.home .home-latest-card--compact .home-latest-meta{font-size:12px!important;}
  body.home .home-latest-card--featured .home-latest-link{
    width:205px!important;
    min-height:44px!important;
    margin:0!important;
  }
  body.home .home-latest-card--compact .home-latest-link{
    width:176px!important;
    min-height:42px!important;
    margin:0!important;
    font-size:12.5px!important;
  }
  body.home .home-latest-card--featured .home-latest-label{top:17px!important;left:18px!important;font-size:11.5px!important;}
  body.home .home-latest-card--compact .home-latest-label{top:16px!important;left:17px!important;font-size:11.2px!important;}
}

@media (min-width:760px) and (max-width:1180px){
  body.home .home-latest-section .home-latest-layout{
    grid-template-columns:minmax(0,1.12fr) minmax(350px,1fr)!important;
    gap:22px!important;
  }
  body.home .home-latest-card--featured .home-latest-media{height:270px!important;min-height:270px!important;max-height:270px!important;flex-basis:270px!important;}
  body.home .home-latest-card--compact .home-latest-media{height:180px!important;min-height:180px!important;max-height:180px!important;flex-basis:180px!important;}
  body.home .home-latest-card--featured .body{padding:26px 28px 28px!important;}
  body.home .home-latest-card--compact .body{padding:21px 22px 23px!important;}
  body.home .home-latest-card--featured h3{font-size:25px!important;}
  body.home .home-latest-card--compact h3{font-size:19px!important;}
  body.home .home-latest-card--compact .home-latest-excerpt{font-size:13.2px!important;}
}

/* v67: match column edges; keep the featured copy padded despite legacy rules.
   Desktop only: the existing mobile cascade remains unchanged. */
@media (min-width:760px){
 body.home .home-latest-section .home-latest-layout{align-items:stretch!important;}
 body.home .home-latest-section .home-latest-layout > .home-latest-left-zone{
   display:flex!important;align-self:stretch!important;
 }
 body.home .home-latest-section .home-latest-layout > .home-latest-left-zone > .home-latest-card--featured{
   height:auto!important;flex:1 1 auto!important;align-self:stretch!important;
 }
 body.home .home-latest-section .home-latest-layout .home-latest-left-zone .home-latest-card--featured > .home-latest-media{
   flex:1 0 300px!important;height:auto!important;min-height:300px!important;max-height:none!important;
 }
 body.home .home-latest-section .home-latest-layout .home-latest-left-zone .home-latest-card--featured > .home-latest-media > img{
   position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;
 }
 body.home .home-latest-section .home-latest-layout .home-latest-left-zone .home-latest-card--featured > .body{
   padding:30px 34px 32px!important;flex:0 0 auto!important;
 }
 body.home .home-latest-section .home-latest-layout .home-latest-card .home-latest-meta{
   font-size:14px!important;line-height:1.45!important;color:#52636a!important;
 }
 body.home .home-latest-section .home-latest-layout .home-latest-card .home-latest-link{
   font-size:14px!important;min-height:44px!important;
 }
 body.home .home-latest-section .home-latest-layout .home-latest-card .home-latest-label{
   font-size:12px!important;line-height:1.4!important;max-width:calc(100% - 34px)!important;box-sizing:border-box!important;white-space:normal!important;
 }
}
@media (min-width:760px) and (max-width:1180px){
 body.home .home-latest-section .home-latest-layout .home-latest-left-zone .home-latest-card--featured > .body{padding:26px 28px 28px!important;}
}

/* v68: landscape artwork and the actual article opening, desktop only. */
.home-latest-section .home-latest-opening{display:none;}
@media (min-width:760px){
 body.home .home-latest-section .home-latest-layout .home-latest-left-zone .home-latest-card--featured > .home-latest-media{
   flex:0 0 auto!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16 / 9!important;
 }
 body.home .home-latest-section .home-latest-layout .home-latest-left-zone .home-latest-card--featured > .body{
   flex:1 1 auto!important;
 }
 body.home .home-latest-section .home-latest-layout .home-latest-card--featured .home-latest-opening{
   display:block!important;margin:20px 0 0!important;color:#405a67!important;font-size:16px!important;line-height:1.55!important;
 }
 body.home .home-latest-section .home-latest-layout .home-latest-card--featured .home-latest-opening p{
   margin:0 0 14px!important;font-size:inherit!important;line-height:inherit!important;
 }
 body.home .home-latest-section .home-latest-layout .home-latest-card--featured .home-latest-opening p:last-child{margin-bottom:0!important;}
 body.home .home-latest-section .home-latest-layout .home-latest-card--featured .home-latest-footer{
   margin-top:auto!important;padding-top:24px!important;
 }
}
