@font-face {
    font-family:'Inter';
    src:url('https://cdn.myshoptet.com/usr/www.rivergems.cz/user/documents/upload/Fonty/Inter-VariableFont_opsz_wght.ttf') format('truetype');
    font-weight:normal;
    font-style:normal;
    font-weight: 1 1000;
}

/* globální barvy a fonty */
:root {
	--template-font: "Inter", sans-serif;
  --template-heading-font: "Literata", serif;
  --color-primary: #29261E;
  --color-secondary: #F8F4F1; /* #F2E7E6 */
  --color-body: #000000B2;
  --color-outline: #29261E1A;
  --color-white: #FFFFFF;
  --color-gray: #F8F4F1;
  --color-outline: rgba(41, 38, 30, 0.1);
  --color-black-opacity: rgba(0, 0, 0, 0.7);
}

/* CAROUSEL */
/* barva pozadí carouselu */
.col-sm-8:has(#carousel) {
		/* background-color: var(--color-secondary); */
}
#carousel .extended-banner-texts {
		background-color: var(--color-secondary);
}
#carousel {
		background-color: transparent;
}

/* barva borderu hlavičky */
#header {
    border-bottom: 1px solid rgba(41, 38, 30, 0.1);
}

/* odebrání borderu ze sekcí s bannery */
.next-to-carousel-banners, .middle-banners-wrapper, .footer-banners {
    border-bottom: none;
    border-top: none;
}

/* KONKURENČNÍ VÝHODY */
/* odebrání borderu konkurenčních výhod*/
.benefitBanner {
    border: none;
}
/* barva oddělovače konkurenčních výhod */
.benefitBanner .benefitBanner__item {
    border-right: 1px solid rgba(41, 38, 30, 0.1);
}

/* fotky oblíbených kategorií */
.hp-categories .hp-categories-posts .news-wrapper .news-item .image img {
	position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* ČLÁNKY */
.content-600 {
	max-width: 600px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.btn-blog {
	min-width: 90px;
  min-height: 55px;
  border: none;
  cursor: pointer;
  padding: 16px 45px;
  color: #fff;
  background: #171717;
  border-radius: 0;
  text-transform: none;
  font-weight: 500;
  text-decoration: none;
  transition: .3s;
  font-size: 14px;
  text-shadow: none;
  -webkit-appearance: none;
}

.btn-blog:hover {
	border: none;
  text-decoration: none;
 }

/* STRÁNKY */
/* kontakt */
.author-section {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 30px;
}
.author-photo {
  width: 100%;
}
.author-text {
  margin: 0;
}
@media (min-width: 481px) {
  .author-section {
    grid-template-columns: 1fr 2fr;
  }
    .author-photo {
    width: 100%;
    max-width: none;
  }
}

/* fotogalerie */
.photo-gallery {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 30px;
}
.photo-gallery img {
	aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.gallery-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  object-position: center;
}
.gallery-photo-v {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 9 / 12;
  object-position: center;
}
@media (min-width: 481px) and (max-width: 1199px) {
  .photo-gallery {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1200px) {
  .photo-gallery {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/* šířka obsahu */
article {
	max-width: 1570px;
}

/*   */
article section:nth-of-type(odd) {
  background-color: var(--color-white);
}

article section:nth-of-type(even) {
  background-color: var(--color-gray);
}

section {
	padding-top: 39px;
  padding-bottom: 75px;
}


/* dva sloupce */
.text-columns {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 30px;
  margin: 20px 0;
}
@media (min-width: 993px) {
  .text-columns {
    grid-template-columns: 1fr 1fr;
  }
}

.text-columns-rev-mob {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 30px;
  margin: 20px 0;
}

@media (max-width: 992px) {
  .text-columns-rev-mob > *:nth-child(1) {
    order: 2;
  }
  .text-columns-rev-mob > *:nth-child(2) {
    order: 1;
  }
}

@media (min-width: 993px) {
  .text-columns-rev-mob {
    grid-template-columns: 1fr 1fr;
  }
}



/* tři sloupce */
.text-columns-3 {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 30px;
  margin: 20px 0;
}

@media (min-width: 993px) {
  .text-columns-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}


/* tabulka dopravy */
.shipping-table {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border-collapse: collapse;
  }

  .shipping-table th,
  .shipping-table td {
    padding: 12px;
    border: 1px solid var(--color-outline);
  }

  .shipping-table th {
    background-color: #f9f9f9;
    font-weight: bold;
    text-align: left;
  }

  @media screen and (max-width: 600px) {
    .shipping-table {
      border: 0;
    }
    
    .shipping-table thead {
      display: none;
    }
    
    .shipping-table tr {
      margin-bottom: 20px;
      display: block;
      border: 1px solid var(--color-outline);
    }
    
    .shipping-table td {
      display: block;
      text-align: right;
      padding: 12px;
      border-bottom: 1px solid var(--color-outline);
      position: relative;
      padding-left: 50%;
    }
    
    .shipping-table td:last-child {
      border-bottom: 0;
    }
    
    .shipping-table td:before {
      content: attr(data-label);
      position: absolute;
      left: 12px;
      width: 45%;
      text-align: left;
      font-weight: bold;
    }
  }

/* skrytí úvodního textu kontaktního formuláře */
.kontakt-form>p {
    display: none !important;
}

/* PATIČKA */
.newsletter-wrap, #footer:before {
	background-color: var(--color-secondary);
  opacity: 1;
}
.type-page footer {
	margin-top: 0px;
}

/* HLAVIČKA */
/* výška loga */
#header .site-name img {
	max-height: 40px;
}
