/* SMARTYhodinky .cz, .sk a SMARTYdum.cz - kategorie: zkraceny popis, vyhody a poradna vpravo, dlazdice podkategorii (jen smartyhodinky.cz) */
.sh-usp {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px;
  margin: 0 0 12px; padding: 12px 14px;
  background: #f1faec; border: 1px solid #d6efc9; border-radius: 12px;
}
.sh-usp-item { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.3; color: #24242e; }
.sh-usp-item b { display: block; font-weight: 800; }
.sh-usp-ico {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: #32cb00; color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.sh-advice { padding: 14px; border-radius: 12px; background: #f5efe6; color: #24242e; }
.sh-advice-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sh-advice-head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.sh-advice-title { font-size: 17px; font-weight: 800; line-height: 1.25; margin: 0; }
.sh-advice-sub { font-size: 13px; color: #555; margin: 2px 0 0; line-height: 1.35; }
.sh-advice-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sh-advice-actions a {
  display: flex; align-items: center; justify-content: center; height: 42px;
  border-radius: 8px; font-size: 14px; font-weight: 800; text-decoration: none !important;
}
.sh-advice-chat { background: var(--sh-blue, #239ceb); color: #fff !important; }
.sh-advice-call { background: #fff; color: var(--sh-blue, #239ceb) !important; border: 1px solid var(--sh-blue, #239ceb); }

.sh-intro .category-perex { margin: 0; }
.sh-intro.sh-clamp .category-perex { position: relative; overflow: hidden; max-height: var(--sh-h, 94px); }
.sh-intro.sh-clamp .category-perex::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.8em;
  background: linear-gradient(rgba(255,255,255,0), #fff);
}
.sh-intro.sh-noclamp .category-perex { max-height: none; }
.sh-intro.sh-noclamp .category-perex::after, .sh-intro.sh-noclamp .sh-more { display: none; }
.sh-more {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: 0; padding: 6px 0 8px;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--sh-blue, #239ceb); cursor: pointer;
}
.sh-more::after { content: "⌄"; font-size: 14px; line-height: 1; }
.sh-more.sh-open::after { transform: rotate(180deg); }

@media (min-width: 768px) {
  .sh-intro { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; margin-bottom: 24px; }
  .sh-intro .sh-usp { grid-template-columns: 1fr; }
  .sh-subcats-more { display: none; }
}
@media (min-width: 1024px) {
  .sh-intro { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; }
  .sh-intro .sh-usp { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .sh-intro { display: flex; flex-direction: column; margin-bottom: 8px; }
  .sh-main { display: contents; }
  .sh-intro .category-perex { order: 1; }
  .sh-side { order: 2; margin-top: 12px; }
  .sh-intro .sh-more { order: 3; align-self: flex-start; }
  .sh-intro.sh-clamp .sh-side { display: none; }

  .category-top .subcategories.sh-tiles {
    display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px;
    margin: 0 0 8px !important; padding: 0 !important;
  }
  .category-top .subcategories.sh-tiles > li {
    width: auto !important; max-width: none !important;
    padding: 0 !important; margin: 0 !important; float: none !important;
  }
  .category-top .subcategories.sh-tiles > li > a {
    height: auto !important; min-height: 54px !important;
    padding: 6px 8px !important; gap: 6px; align-items: center; border-radius: 8px;
  }
  .category-top .subcategories.sh-tiles > li .image {
    flex: 0 0 38px !important; width: 38px !important; height: 38px !important; margin: 0 !important;
  }
  .category-top .subcategories.sh-tiles > li .image img {
    width: 38px !important; height: 38px !important; object-fit: cover; border-radius: 6px;
  }
  .category-top .subcategories.sh-tiles > li .text {
    flex: 1 1 auto !important; min-width: 0; height: auto !important; max-height: none !important;
    padding: 0 !important; font-size: 12.5px !important; line-height: 1.25 !important;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .category-top .sh-collapsed > li:nth-child(n+9) { display: none !important; }
  .sh-subcats-more { display: flex; justify-content: center; width: 100%; margin: 0 0 12px; }
}
