/* ==========================================================================
   HOSTMAFIYA  -  DOWNLOADS CATEGORY / SEARCH RESULTS  (index.php?rp=/download/category/...)
   body.hm-skin.hm-ann.hm-annx.hm-annv.hm-dlx.hm-dlc - loaded by header.tpl on 'downloadscat'
   after hm-announce.css, hm-annview.css (card, banner, back button), hm-kb.css (search, cards,
   list rows) and hm-downloads.css (file rows).  Markup: downloadscat.tpl
   ========================================================================== */

/* banner: girl illustration, intro line under the title */
body.hm-dlc .hm-av__banner { padding-top: 14px; padding-bottom: 30px; }
body.hm-dlc .hm-av__art { width: 40%; max-width: 400px; }
body.hm-dlc .hm-av__art img { max-height: 205px; }
.hm-dc__sub { max-width: 520px; margin: 8px 0 0; color: #f6dfe1; font-size: 14.5px; line-height: 1.5; }

/* inside the card */
.hm-dc__inner { padding: 20px 26px 4px; }
.hm-dc .hm-kb-search { margin-bottom: 20px; }
.hm-dc .hm-kb-search .input-group { box-shadow: 0 4px 14px rgba(229, 9, 42, .18); }
body.hm-dlc .hm-dc__h {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: #c3081a;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 21px;
    font-weight: 800;
}
.hm-dc__h i { font-size: 20px; }
.hm-dc .hm-kb-cats { gap: 12px; margin-bottom: 22px; }
.hm-dc .hm-kb-cat__link { min-height: 64px; padding: 10px 12px 10px 16px; border-width: 1.5px; border-radius: 12px; box-shadow: 0 4px 12px rgba(229, 9, 42, .16); }
.hm-dc .hm-kb-cat__ic { width: 36px; height: 36px; font-size: 28px; background: transparent; }
.hm-dc .hm-kb-cat__go { width: 34px; height: 34px; font-size: 15px; }

/* file list */
.hm-dc__files { padding: 4px 16px; background: #F8E0E0; border-radius: 14px; }
.hm-dc__files .hm-kb-art + .hm-kb-art { border-top: 1px solid #edc4c8; }
.hm-dc__files .hm-kb-art__link:hover,
.hm-dc__files .hm-kb-art__link:focus { background: #FCEFED; }
.hm-dc__none { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px 18px; color: #1a0a0c; text-align: center; }
.hm-dc__none img { width: 190px; max-width: 70%; height: auto; }
.hm-dc__none strong { font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif; font-size: 19px; font-weight: 800; }

.hm-dc .hm-av__actions { padding-top: 18px; }

/* 3 columns of category cards inside the narrower card */
@media (min-width: 1200px) {
    .hm-dc .hm-kb-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    body.hm-dlc .hm-av__banner { padding-top: 20px; }
    body.hm-dlc .hm-av__art { width: 100%; max-width: none; }
    body.hm-dlc .hm-av__art img { max-height: 180px; }
    .hm-dc__inner { padding: 16px 16px 2px; }
    body.hm-dlc .hm-dc__h { font-size: 19px; }
    .hm-dc__files { padding: 2px 10px; }
}
