

/* ===== CSS PROMENNE ===== */

:root {
  --color-primary: #90005e;
  --color-primary-hover: #DDDDDD;
  --color-secondary: #009901;
  --color-secondary-hover: #32cb00;
  --color-tertiary: #DDDDDD;
  --color-header-background: #90005e;
  --template-font: "Poppins";
  --template-headings-font: "Mulish";
}


/* ===== BLOG BANNER ===== */

#content > div > div.sectionDescription > div.salente-blog-banner > div > p {width: 33%;}

.salente-blog-banner {
  background-color: #fdf0f7;
  min-height: 450px;
  padding: 50px 40px 80px;
  margin-bottom: 20px;
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end !important;
  overflow: hidden;
}

.salente-blog-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: url('https://eshop.salente.eu/user/documents/upload/mceclip0-73.jpg?1778157954')
      no-repeat center center / cover;
  mask-image: linear-gradient(to right, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 50%, transparent 100%);
  z-index: 0;
}

.salente-blog-banner > *,
.salente-blog-banner::after {
  position: relative;
  z-index: 1;
}

.salente-blog-banner h1,
.salente-blog-banner-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #90005e;
  margin: 0 0 15px 0;
  max-width: 45%;
  text-align: right !important;
  margin-left: auto;
}

.salente-blog-banner p,
.salente-blog-banner-desc {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #555;
  max-width: 45%;
  margin: 0;
  margin-left: auto;
  text-align: right !important;
}

.salente-blog-banner::after {
  content: 'Vařte chytřeji, jezte lépe – prozkoumejte naši sbírku návodů a inspirace do kuchyně.';
  position: absolute;
  bottom: 25px;
  right: 40px;
  left: auto;
  color: #90005e;
  font-size: 0.9rem;
  font-style: italic;
  opacity: 0.7;
  max-width: 45%;
  text-align: right;
}

.salente-blog-banner-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #90005e;
  margin: 0 0 15px 0;
  max-width: 45%;
  text-align: right;
}

.salente-blog-banner-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  max-width: 45%;
  margin: 0;
  text-align: right;
}


/* ===== BANNER RESPONZIVITA ===== */

@media only screen and (max-width: 1200px) {
  .salente-blog-banner::before {
    width: 55%;
    mask-image: linear-gradient(to right, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 40%, transparent 100%);
  }
  .salente-blog-banner {
    min-height: 350px;
    padding: 30px 25px 70px;
  }
}

@media only screen and (max-width: 1000px) {
  .salente-blog-banner {
    min-height: 350px;
    padding: 30px 25px 70px;
  }
  .salente-blog-banner::before {
    width: 55%;
    mask-image: linear-gradient(to right, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 40%, transparent 100%);
  }
  .salente-blog-banner h1,
  .salente-blog-banner-title {
    font-size: 2rem;
    max-width: 50%;
  }
  .salente-blog-banner p,
  .salente-blog-banner-desc {
    font-size: 0.95rem;
    max-width: 50%;
  }
  .salente-blog-banner::after {
    right: 25px!important;
    max-width: 50%;
    font-size: 0.8rem;
  }
}

@media only screen and (max-width: 700px) {
  .salente-blog-banner {
    min-height: 300px;
    padding: 25px 20px 65px;
  }
  .salente-blog-banner::before {
    width: 65%;
    mask-image: linear-gradient(to right, black 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 30%, transparent 100%);
  }
  .salente-blog-banner h1,
  .salente-blog-banner-title {
    font-size: 1.7rem;
    max-width: 58%;
  }
  .salente-blog-banner p,
  .salente-blog-banner-desc {
    font-size: 0.9rem;
    max-width: 58%;
  }
  .salente-blog-banner::after {
    max-width: 58%;
    font-size: 0.75rem;
  }
}

@media only screen and (max-width: 500px) {
  .salente-blog-banner::before {
    width: 65%;
    mask-image: linear-gradient(to right, black 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 30%, transparent 100%);
  }
  .salente-blog-banner-title {
    font-size: 1.5rem;
    max-width: 65%;
  }
  .salente-blog-banner-desc {
    font-size: 0.85rem;
    max-width: 39%;
  }
  .salente-blog-banner::after {
    display: none;
  }
  #content > div > div.sectionDescription > div.salente-blog-banner > div > p {
    width: 39%;
    text-align: right;
  }
}


/* ===== KATEGORIE - kompaktni karty ===== */

.salente-recipes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  padding: 10px 0;
}

.salente-recipe-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  background-color: #fff;
  border: 1px solid rgba(144, 0, 94, 0.15);
  border-radius: 6px;
  padding: 18px 15px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.salente-recipe-card:hover {
  border-color: rgba(144, 0, 94, 0.35);
  box-shadow: 0 4px 12px rgba(144, 0, 94, 0.18);
  transform: translateY(-2px);
}

.salente-recipe-img-wrap {
  display: block !important;
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  overflow: hidden !important;
  border-radius: 50%;
  flex-shrink: 0;
}

.salente-recipe-img-wrap img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  max-width: none !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform 0.3s;
}

.salente-recipe-card:hover .salente-recipe-img-wrap img {
  transform: scale(1.1);
}

.salente-recipe-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #90005e;
  text-decoration: none;
  text-align: left;
  padding: 0;
  margin: 0;
  display: block;
  line-height: 1.3;
}

.salente-recipe-card:hover .salente-recipe-title {
  text-decoration: underline;
}

.salente-recipe-desc { display: none; }
.salente-recipe-btn { display: none; }
.salente-recipe-content { padding: 0; }

@media only screen and (max-width: 1000px) {
  .salente-recipes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .salente-recipe-card { padding: 14px 12px; gap: 10px; }
  .salente-recipe-img-wrap { width: 45px !important; height: 45px !important; min-width: 45px !important; }
  .salente-recipe-title { font-size: 1.5rem; }
}

@media only screen and (max-width: 500px) {
  .salente-recipes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .salente-recipe-card { padding: 12px 10px; gap: 8px; }
  .salente-recipe-img-wrap { width: 40px !important; height: 40px !important; min-width: 40px !important; }
  .salente-recipe-title { font-size: 1.5rem; }
}


/* ===== CLANKY ===== */

#content > div.content-inner > div > div > div:nth-child(4) {
  flex-direction: column !important;
}

#content-wrapper > div.content-wrapper-in > aside {
  display: none;
}

#newsWrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 10px;
}

.news-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  background-color: #fff;
  height: 520px;
  position: relative;
  margin: 0;
  padding: 0;
}

.news-item > .image {
  max-width: 446px;
  max-height: 250px;
  overflow: hidden;
  text-align: center;
  padding: 15px 15px 0 15px;
}

.news-item .image {
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
}

.news-item .image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.news-item:hover .image img {
  transform: scale(1.05);
}

.news-item .text {
  padding: 10px;
  width: 100%;
}

.news-item .text .title {
  margin-left: 10px;
  max-width: 85%;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
  line-height: 25px !important;
}

.text > div { margin-left: 10px; }

.news-item .text .description p {
  margin-left: 10px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

#newsWrapper > div > div.text > time,
.pagination-count {
  display: none;
}

#newsWrapper > div > div.image > a > img { border-radius: 15px; }
#img { border-radius: 15px; }

@media only screen and (max-width: 1000px) {
  #newsWrapper { display: block; }
  .news-item { height: 490px; margin-bottom: 20px; left: -20px; }
  .news-item .text .description p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}


/* ===== MOBILNI OPRAVY ===== */

@media only screen and (max-width: 1000px) {
  .salente-recipes-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .salente-recipe-card { padding: 14px 12px; gap: 10px; }
  .salente-recipe-img-wrap { width: 45px !important; height: 45px !important; min-width: 45px !important; }
  .salente-recipe-title { font-size: 1.5rem; font-weight: 400; }

  #newsWrapper { display: flex; flex-direction: column; align-items: center; gap: 20px; }
  .news-item { height: auto; min-height: 450px; margin-bottom: 0; left: 0; max-width: 500px; width: 100%; }

  .salente-blog-banner { min-height: 260px; padding: 30px 25px 70px; }
  .salente-blog-banner-title { font-size: 2rem; max-width: 55%; }
  .salente-blog-banner-desc { font-size: 0.95rem; max-width: 55%; }
  .salente-blog-banner::after { right: 25px; max-width: 55%; font-size: 0.8rem; }
}

@media only screen and (max-width: 500px) {
  .salente-recipes-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .salente-recipe-card { padding: 12px 10px; gap: 8px; }
  .salente-recipe-img-wrap { width: 40px !important; height: 40px !important; min-width: 40px !important; }
  .salente-recipe-title { font-size: 1.5rem; font-weight: 400; }

  .news-item { height: auto; min-height: 450px; left: 0; max-width: 100%; }

  .salente-blog-banner { min-height: 200px; padding: 25px 20px 60px; border-radius: 8px; }
  .salente-blog-banner-title { font-size: 1.5rem; max-width: 65%; }
  .salente-blog-banner-desc { font-size: 0.85rem; max-width: 65%; }
  .salente-blog-banner::after { display: none; }
}


/* ===== DOPLNKOVE - sidebar, article detail ===== */

#content-wrapper > div.content-wrapper-in > aside > div { display: none; }
#content-wrapper > div.content-wrapper-in > aside { display: none; }

#content > div > div > h1 { display: none; }

.article-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 25px;
  border-bottom: 1px solid #F1F1F1;
}

.text-content { flex: 1; max-width: 60%; }
.image-content { max-width: 460px; flex-shrink: 0; margin-top: 25px; }
.image-content img { width: 100%; height: auto; }

.article-section:nth-child(even) { flex-direction: row-reverse; }

#content > div.content-inner > div > div > p:nth-child(2) { opacity: 0; }
#content > div.content-inner > div > div > div:nth-child(4) { flex-direction: row; width: 100%; }
#content > div.content-inner > div > div > div:nth-child(4) > div { max-width: 100%; }

@media (max-width: 768px) {
  .article-section { flex-direction: column!important; align-items: center; text-align: center; }
  .text-content { max-width: 100%; }
  .image-content { max-width: 100%; }
}

.video-youtube { text-align: center; }
.sidebar-left, .news-item-detail time { display: none; }
