/* Homepage desktop only. All mobile/tablet styles below 1024px remain intact. */
@media(min-width:1024px){
 body main.fix .k24-home-compact-top > .row {row-gap:16px;}
 body main.fix .k24-home-compact-top .horizontal-post-four {
  display:grid;grid-template-columns:220px minmax(0,1fr);
  column-gap:20px;row-gap:0;align-items:center;
  padding:16px;border:1px solid #dce9f2;border-radius:20px;
  background:linear-gradient(125deg,rgba(255,255,255,.94),rgba(231,243,253,.78));
  box-shadow:0 3px 10px rgba(34,71,99,.035);
 }
 body main.fix .k24-home-compact-top .horizontal-post-thumb-four {
  grid-column:1;grid-row:1;width:220px;height:140px;
  align-self:start;margin:0;border-radius:12px;overflow:hidden;
 }
 body main.fix .k24-home-compact-top .horizontal-post-thumb-four img {
  display:block;width:100%;height:100%;min-height:0;object-fit:cover;object-position:center;
 }
 body main.fix .k24-home-compact-top .horizontal-post-content-four {
  grid-column:2;grid-row:1;display:flex;flex-direction:column;
  align-items:flex-start;justify-content:center;align-self:center;min-width:0;
 }
 body main.fix .k24-home-compact-top .k24-card-heading-group {display:flex;flex-direction:column;align-items:flex-start;min-width:0;}
 /* The existing decorative photo becomes the footer's own layer, not a shared
    background behind the newsletter and the 40px gap. No nodes are moved. */
 body.k24-glass-photo main.fix + .k24-glass-bottom {
  display:grid;grid-template-columns:minmax(0,1fr);row-gap:0;
  background:transparent;border-radius:0;overflow:visible;
 }
 body.k24-glass-photo main.fix + .k24-glass-bottom > .newsletter-area-four {
  grid-column:1;grid-row:1;box-sizing:border-box;
  width:calc(100% - 48px);max-width:1320px;
  margin:0 auto !important;padding:32px !important;
  border:1px solid rgba(169,196,217,.48);border-radius:24px;
  background:linear-gradient(125deg,rgba(255,255,255,.96),rgba(225,240,251,.86));
  box-shadow:0 6px 22px rgba(34,71,99,.055),inset 0 1px 0 rgba(255,255,255,.85);
 }
 body.k24-glass-photo main.fix + .k24-glass-bottom > .newsletter-area-four > .container {
  width:100% !important;max-width:none !important;margin:0 !important;padding:0 !important;
  border:0;border-radius:0;background:transparent;box-shadow:none;
  backdrop-filter:none;-webkit-backdrop-filter:none;
 }
 body.k24-glass-photo main.fix + .k24-glass-bottom > .k24-glass-bottom-photo {
  grid-column:1;grid-row:1;position:relative;inset:auto;
  align-self:stretch;min-width:0;min-height:0;
  background-color:#e8f0f5;border-radius:26px 26px 0 0;
  clip-path:inset(0 round 26px 26px 0 0);
 }
 body.k24-glass-photo main.fix + .k24-glass-bottom > footer.k24-footer {
  grid-column:1;grid-row:1;z-index:1;
 }
}
