/* Mobile compact article cards only. No desktop, header, H1, intro or sidebar rules.
   Scoped !important declarations override existing forced Servis/category card styles. */
@media (max-width:599px) {
  html body main.k24buy-page .k24buy-list { gap:14px; }
  html body main.k24buy-page .k24buy-featured .k24buy-feature-bottom { margin-top:14px; }
  html body[data-k24-content-theme] main.k24-cat-main :is(.k24-cat-grid,.k24-archive-list) {
    grid-template-columns:minmax(0,1fr) !important;
    gap:14px !important;
  }
  html body main.k24buy-page .k24buy-layout .k24buy-card,
  html body[data-k24-content-theme] main.k24-cat-main :is(.k24-cat-card,.k24-archive-row) {
    border:1px solid #dce9f2;
    border-radius:16px;
    background:linear-gradient(125deg,rgba(255,255,255,.96),rgba(231,243,253,.78));
    box-shadow:0 3px 10px rgba(34,71,99,.035);
    --k24-card-photo:clamp(92px,29.75vw,116px);
    min-width:0;
  }
  html body main.k24buy-page .k24buy-layout .k24buy-card { padding:0; }
  html body main.k24buy-page .k24buy-layout .k24buy-card > a.k24buy-card-link[href] {
    display:grid !important;
    grid-template-columns:var(--k24-card-photo) minmax(0,1fr) !important;
    align-items:start !important;
    align-content:start;
    gap:12px !important;
    padding:12px !important;
    height:100% !important;
  }
  html body[data-k24-content-theme] main.k24-cat-main :is(.k24-cat-card,.k24-archive-row) {
    display:grid !important;
    grid-template-columns:var(--k24-card-photo) minmax(0,1fr) !important;
    align-items:start;
    gap:12px !important;
    padding:12px;
  }
  html body main.k24buy-page .k24buy-layout .k24buy-card > a.k24buy-card-link[href] > .k24buy-image {
    width:var(--k24-card-photo) !important;
    min-width:var(--k24-card-photo);
    max-width:var(--k24-card-photo);
    height:calc(var(--k24-card-photo) * .75) !important;
    min-height:calc(var(--k24-card-photo) * .75) !important;
    aspect-ratio:4/3 !important;
    border-radius:7px !important;
    overflow:hidden;
      align-self:start !important;
    margin:0 !important;
}
  html body[data-k24-content-theme] main.k24-cat-main :is(.k24-cat-image,.k24-archive-photo) {
    display:block !important;
    width:var(--k24-card-photo) !important;
    min-width:var(--k24-card-photo);
    max-width:var(--k24-card-photo) !important;
    height:calc(var(--k24-card-photo) * .75);
    min-height:calc(var(--k24-card-photo) * .75);
    aspect-ratio:4/3 !important;
    border-radius:7px;
    overflow:hidden;
  }
  html body main.k24buy-page .k24buy-layout .k24buy-card > a.k24buy-card-link[href] > .k24buy-image img,
  html body[data-k24-content-theme] main.k24-cat-main :is(.k24-cat-image,.k24-archive-photo) img {
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
  }
  html body main.k24buy-page .k24buy-layout .k24buy-card > a.k24buy-card-link[href] > .k24buy-copy,
  html body[data-k24-content-theme] main.k24-cat-main :is(.k24-cat-card-body,.k24-archive-row > div) {
    min-width:0;
    padding:0 !important;
  }
  html body[data-k24-content-theme] main.k24buy-page .k24buy-layout .k24buy-card .k24buy-copy h3,
  html body[data-k24-content-theme] main :is(.k24buy-card,.k24-cat-card,.k24-archive-row) h3 {
    font-size:15px !important;
    line-height:1.4 !important;
    font-weight:700 !important;
    margin:0 0 6px !important;
    overflow-wrap:break-word;
  }
  html body[data-k24-content-theme] main.k24buy-page .k24buy-layout .k24buy-card .k24buy-copy p,
  html body[data-k24-content-theme] main :is(.k24buy-card,.k24-cat-card,.k24-archive-row) p {
    display:block;
    font-size:12px !important;
    line-height:1.6 !important;
    font-weight:400;
    margin:0 !important;
    overflow:visible;
    max-height:none;
    -webkit-line-clamp:unset;
    white-space:normal;
    overflow-wrap:break-word;
  }
}

/* Homepage compact lists only; large editorial cards remain untouched. */
@media (max-width:599px) {
  body main.fix :is(.k24-home-popular-panel .stories-post,.k24-home-compact-top .horizontal-post-four,.k24-home-compact-heating .horizontal-post-five) {
    --k24-card-photo:clamp(92px,29.75vw,116px);
    display:grid;grid-template-columns:var(--k24-card-photo) minmax(0,1fr);
    align-items:start;gap:12px;padding:12px;min-width:0;
    border:1px solid #dce9f2;border-radius:16px;
    background:linear-gradient(125deg,rgba(255,255,255,.96),rgba(231,243,253,.78));
    box-shadow:0 3px 10px rgba(34,71,99,.035);
  }
  body main.fix .k24-home-popular-panel .stories-post,
  body main.fix .k24-home-compact-heating .horizontal-post-five {margin:0 0 14px;}
  body main.fix .k24-home-popular-panel .stories-post:last-child,
  body main.fix .k24-home-compact-heating .horizontal-post-five:last-child {margin-bottom:0;}
  body main.fix .k24-home-compact-top .row {row-gap:14px;}
  body main.fix .k24-home-compact-top .horizontal-post-four {margin:0;}
  body main.fix :is(.k24-home-popular-panel .stories-post-thumb,.k24-home-compact-top .horizontal-post-thumb-four,.k24-home-compact-heating .horizontal-post-thumb-four) {
    width:var(--k24-card-photo);min-width:0;max-width:none;
    height:calc(var(--k24-card-photo) * .75);min-height:0;
    aspect-ratio:4/3;margin:0;border-radius:7px;overflow:hidden;
  }
  body main.fix :is(.k24-home-popular-panel .stories-post-thumb,.k24-home-compact-top .horizontal-post-thumb-four,.k24-home-compact-heating .horizontal-post-thumb-four) img {
    display:block;width:100%;height:100%;min-height:0;aspect-ratio:4/3;
    object-fit:cover;object-position:center;border-radius:7px;
  }
  body main.fix :is(.k24-home-popular-panel .stories-post-content,.k24-home-compact-top .horizontal-post-content-four,.k24-home-compact-heating .horizontal-post-content-four) {
    min-width:0;width:auto;padding:0;overflow-wrap:break-word;
  }
}
