/* studiumhomeopatie.cz - vlastni styly e-shopu
 * Soubor: /user/documents/studiumhomeopatie.css
 * Pripojeno v Shoptetu: Vzhled a obsah > Editor > HTML kody > Zahlavi
 * Barvy a pismo sladene s webem hla-homeopatie.cz
 */

:root {
  --hla-red: #EE4438;
  --hla-green: #008000;
  --hla-green-dark: #006400;
  --hla-blue: #5D94E7;
  --hla-amber: #FFB856;
  --hla-orange: #FFA500;
  --hla-coral: #EE7849;
  --hla-purple: #B84BAF;
  --hla-brown: #4A3729;
  --hla-brown-dark: #3A2B20;
  --hla-ink: #202020;
  --hla-font: Futura, "Futura PT", "Jost", "Century Gothic", Arial, sans-serif;
}

/* Logo v hlavicce */
@media (min-width: 992px) {
  #header .header-top .header-top-wrapper .site-name a img,
  #header .header-top .header-top-wrapper h1.site-name a img {
    max-height: 150px !important;
  }
}

/* Podtrzeni nadpisu sekci na titulni strane */
.pageElement__heading:after {
  background-color: var(--hla-green);
  border: 2px solid var(--hla-green);
}

/* Skryte prvky kategorii */
#category-header { display: none; }
#filters-wrapper { display: none; }

/* Nadpis a horni popis kategorie zarovnane vlevo */
.category-top .category-title,
.category-top .category-perex,
.category-top .category-perex p {
  text-align: left !important;
}
.category-top .category-perex {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 920px;
}

/* Uvodni banner (hero) na titulni strane */
.sh-hero {
  font-family: 'Open Sans', sans-serif;
  background-image: url('/user/documents/upload/pozadi-banner.jpg');
  background-size: cover;
  background-position: center;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  box-sizing: border-box;
}
.sh-hero-inner {
  max-width: 860px;
  width: 100%;
}
.sh-hero h1 {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.sh-hero p {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 40px;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.sh-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.sh-hero-buttons a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  border: 2.5px solid rgba(255,255,255,0.85);
  border-radius: 6px;
  padding: 13px 22px;
  transition: background 0.2s, color 0.2s;
  background: rgba(0,0,0,0.18);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  white-space: nowrap;
}
.sh-hero-buttons a:hover {
  background: rgba(255,255,255,0.2);
}

/* Blog: ve vypisu clanku jen prvni odstavec (perex), zbytek az v detailu */
.news-item .description > *:not(:first-child) { display: none; }
.news-item .description > p:first-child { margin-bottom: 8px; }
.news-item .sh-read-more { display: none !important; }

/* Uvodni text na titulni strane s obrazkem a odkazem na O nas */
.welcome h2 { margin-bottom: 0.8em; }
.welcome img.sh-welcome-img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 8px;
}
@media (min-width: 992px) {
  .welcome img.sh-welcome-img {
    float: right;
    width: 46%;
    margin: 0 0 20px 32px;
  }
  .welcome > div::after { content: ""; display: table; clear: both; }
}
.welcome a.sh-welcome-link {
  display: inline-block;
  margin-top: 6px;
  padding: 11px 20px;
  border: 2px solid var(--hla-green);
  border-radius: 6px;
  color: var(--hla-green);
  font-weight: 700;
  text-decoration: none;
}
.welcome a.sh-welcome-link:hover { background: var(--hla-green); color: #fff; }

/* ===== Sladeni s webem HLA (hla-homeopatie.cz) ===== */

/* Nadpisy pismem Futura (na Windows zastupuje Jost), velka pismena jako na webu HLA */
h1, .h1, .category-title, .pageElement__heading, .welcome h2, .news-item .title, .sho .sho-display {
  font-family: var(--hla-font);
}
.category-title, .pageElement__heading {
  text-transform: uppercase;
  font-weight: 700;
  color: var(--hla-ink);
  letter-spacing: .01em;
}

/* Hlavni menu: velka pismena Futura a barevne podtrzeni polozek jako na webu HLA */
.menu-level-1 > li > a {
  font-family: var(--hla-font);
  color: var(--hla-ink);
}
.menu-level-1 > li > a:hover,
.menu-level-1 > li.active > a {
  color: var(--hla-red);
}
@media (min-width: 768px) {
  .menu-level-1 > li > a > b {
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 3px solid transparent;
  }
  .menu-level-1 > li.menu-item-693 > a > b { border-bottom-color: var(--hla-red); }
  .menu-level-1 > li.menu-item-708 > a > b { border-bottom-color: var(--hla-blue); }
  .menu-level-1 > li.menu-item-735 > a > b { border-bottom-color: var(--hla-orange); }
  .menu-level-1 > li.menu-item-702 > a > b { border-bottom-color: var(--hla-purple); }
  .menu-level-1 > li.menu-item-722 > a > b { border-bottom-color: var(--hla-coral); }
  .menu-level-1 > li.menu-item-736 > a > b { border-bottom-color: var(--hla-green); }
  .menu-level-1 > li.menu-item-682 > a > b { border-bottom-color: var(--hla-amber); }
}

/* Paticka v hnede barve webu HLA */
#footer,
#footer .footer-bottom-full-width,
#footer .footer-bottom {
  background-color: var(--hla-brown);
  color: #E9E2DA;
}
#footer .footer-bottom-full-width,
#footer .footer-bottom {
  background-color: var(--hla-brown-dark);
}
#footer .pageElement__heading,
#footer h3, #footer h4 {
  color: var(--hla-amber);
  text-transform: uppercase;
}
#footer .pageElement__heading:after {
  background-color: var(--hla-amber);
  border-color: var(--hla-amber);
}
#footer a,
#footer span,
#footer p,
#footer li {
  color: #E9E2DA;
}
#footer a:hover {
  color: #FFFFFF;
}
#footer a.social-icon {
  color: var(--hla-brown);
}
#footer a.social-icon:hover {
  color: var(--hla-brown);
  background-color: var(--hla-amber);
}
#footer .footer-bottom a,
#footer .footer-bottom a.cookies-settings,
#footer .footer-bottom a.title {
  color: #E9E2DA !important;
}
#footer .footer-bottom a:hover {
  color: #FFFFFF !important;
}
#footer .footer-bottom img.vam {
  filter: brightness(0) invert(1);
  opacity: .85;
}

/* Kategorie v paticce: otevrena kategorie citelna na hnedem pozadi */
#footer .categories a,
#footer .topic a {
  background-color: transparent;
}
#footer .topic.active > a,
#footer .categories.active > .topic > a {
  background-color: rgba(255, 255, 255, .12) !important;
  color: #FFFFFF !important;
  font-weight: 700;
}
#footer .categories a:hover,
#footer .topic a:hover {
  background-color: rgba(255, 255, 255, .08);
  color: #FFFFFF;
}

/* Detail produktu: sekce Popis a diskuze s prechodem z bile do sede a jednotna lehci typografie */
.p-detail-full-width {
  background: linear-gradient(to bottom, #FFFFFF 0, #F5F5F5 420px, #F5F5F5 100%);
}
.p-detail-full-width #tab-content {
  background: transparent;
}
#description .description-inner,
#description .basic-description,
#description p,
#description li {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #333333;
}
#description strong,
#description b {
  font-weight: 700;
}
#description h2 {
  font-family: var(--hla-font);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  margin: 1.6em 0 .5em;
}
#description h3,
#description h4 {
  font-family: var(--hla-font);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  margin: 1.4em 0 .4em;
}
#description h2:first-child,
#description h3:first-child,
#description h4:first-child {
  margin-top: 0;
}

/* Jednotna sirka obsahu na vsech strankach */
@media (min-width: 1200px) {
  .container,
  .container-full-width {
    max-width: 1232px;
    margin-left: auto;
    margin-right: auto;
  }
}
body .sho { max-width: none; }
.janbarborikcz-seo-wrap { margin-left: 0; margin-right: 0; }

/* Blog: karty clanku ve vypisu rubrik i na titulni strane */
.blog-wrapper .news-item > div,
.blog-wrapper .news-item > a {
  background: #FFFFFF !important;
  border: 1px solid #E3DED7;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color .15s ease;
}
.blog-wrapper .news-item > div:hover,
.blog-wrapper .news-item > a:hover { border-color: var(--hla-green); }
.blog-wrapper .news-item .image { height: auto; aspect-ratio: 3 / 2; margin: 0; }
.blog-wrapper .news-item .image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-wrapper .news-item .text {
  position: static;
  inset: auto;
  background: none !important;
  color: #202020 !important;
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.blog-wrapper .news-item .title-link,
.blog-wrapper .news-item .title {
  color: #202020 !important;
  font-family: var(--hla-font);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: none;
  text-transform: none;
  margin: 0;
}
.blog-wrapper .news-item .title-link:hover,
.blog-wrapper .news-item > a:hover .title { color: var(--hla-green) !important; }
.blog-wrapper .news-item time { color: #6F6F6F !important; font-size: 13px; margin: 8px 0 0; display: block; }
.blog-wrapper .news-item .description {
  height: auto;
  max-height: none;
  overflow: visible;
  color: #454545 !important;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 10px;
}
.blog-wrapper .news-item .description > p:first-child {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.blog-wrapper .news-item .read-article { color: var(--hla-green) !important; font-weight: 700; margin-top: auto; padding-top: 14px; }
.blog-wrapper .news-item .read-article:hover { text-decoration: underline; }
.homepage-blog-wrapper .homepage-group-title { width: 100%; }
.homepage-blog-wrapper .news-item:nth-of-type(n+5) { display: none; }
@media (min-width: 992px) {
  .homepage-blog-wrapper .news-item { flex: 0 0 33.3333%; max-width: 33.3333%; }
}

/* Menu: polozky druhe urovne mensi nez hlavni menu */
.menu-level-2 a,
.menu-level-2 a span,
.menu-level-3 a,
.menu-level-3 a span {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  text-transform: none;
  letter-spacing: normal;
}
.menu-level-2 a:hover,
.menu-level-2 a:hover span { color: var(--hla-red) !important; }

/* Titulni strana: cele nazvy clanku */
.homepage-blog-wrapper .news-item .title {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  height: auto;
  max-height: none;
}

/* Zapati: ctvrty sloupec s provozovatelem */
.sh-footer-hla__box { line-height: 1.6; }
.sh-footer-hla__box strong { display: block; margin-bottom: 8px; }
.sh-footer-hla__box p { margin: 0 0 10px 0; }
.sh-footer-hla__box a { font-weight: 700; text-decoration: underline; }
