/*================== Column paragraphs styling ======================================= */
.paragraph--two-columns > .layout > .layout__region,
.paragraph--three-columns > .layout > .layout__region,
.paragraph--four-columns > .layout > .layout__region {
  padding: 1%;
}
/*
 * .paragraph__image   			 -> .paragraph__content--image
 * .paragraph__image--colorbox   -> .paragraph__content--image-colorbox
 * .paragraph__image--banner	 -> .paragraph__content--image-banner
 */
.paragraph__content--image-banner {
  position: relative;
}
.paragraph__content--image-banner a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: block;
  text-indent: -9999px;
  z-index: 1;
}
.paragraph {
  width: 96%;
  max-width: 84rem;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 1em;
  padding-top: 1em;
}
.paragraph.ct670 {
  width: 96%;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.paragraph.ct900 {
  width: 96%;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
.paragraph.ct1200 {
  width: 96%;
  max-width: 75rem;
  margin-left: auto;
  margin-right: auto;
}
.paragraph.has-color {
  padding: 1.5em;
  margin-bottom: 1em;
  margin-top: 1em;
  color: white;
}
.paragraph.has-color > .paragraph__content {
  margin-bottom: 0;
}
.paragraph.grey-box,
.paragraph.gray-box {
  background-color: #f2f0ee;
  padding: 1.75em 1.5em;
  border-radius: 0 1.5em;
}
.paragraph.red-box {
  background-color: #C72240;
  padding: 1.75em 1.5em;
  border-radius: 0 1.5em;
  color: white;
}
.paragraph .paragraph:not(.ct900, .ct1200, .ct670) {
  width: auto;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}
.paragraph.full-width,
.paragraph.divide {
  width: auto;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}
.paragraph__content {
  margin-bottom: 1em;
}
.page-content__paragraphs-wrapper > .paragraph--container.bg-red,
.page-content__paragraphs-wrapper > .paragraph--container.bg-blue,
.page-content__paragraphs-wrapper > .paragraph--container.bg-green,
.page-content__paragraphs-wrapper > .paragraph--container.bg-footer,
.page-content__paragraphs-wrapper > .paragraph--container.bg-gray,
.page-content__paragraphs-wrapper > .paragraph--container.bg-gray2,
.page-content__paragraphs-wrapper > .paragraph--container.bg-dark-red,
.page-content__paragraphs-wrapper > .paragraph--container.bg-dark-blue,
.page-content__paragraphs-wrapper > .paragraph--container.bg-light-blue,
.page-content__paragraphs-wrapper > .paragraph--container.bg-white {
  width: auto;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  padding-top: 2em;
  padding-bottom: 2em;
}
.page-content__paragraphs-wrapper > .paragraph--container.bg-red > .paragraph__content,
.page-content__paragraphs-wrapper > .paragraph--container.bg-blue > .paragraph__content,
.page-content__paragraphs-wrapper > .paragraph--container.bg-green > .paragraph__content,
.page-content__paragraphs-wrapper > .paragraph--container.bg-footer > .paragraph__content,
.page-content__paragraphs-wrapper > .paragraph--container.bg-gray > .paragraph__content,
.page-content__paragraphs-wrapper > .paragraph--container.bg-gray2 > .paragraph__content,
.page-content__paragraphs-wrapper > .paragraph--container.bg-dark-red > .paragraph__content,
.page-content__paragraphs-wrapper > .paragraph--container.bg-dark-blue > .paragraph__content,
.page-content__paragraphs-wrapper > .paragraph--container.bg-light-blue > .paragraph__content,
.page-content__paragraphs-wrapper > .paragraph--container.bg-white > .paragraph__content {
  width: 96%;
  max-width: 84rem;
  margin-left: auto;
  margin-right: auto;
}
/* ======================= Reusable paragraphs ========================= */
.paragraph.sp-vyhody {
  color: #2C2A27;
}
.paragraph.sp-vyhody > .paragraph__content {
  width: 96%;
  max-width: 84rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  background-image: url("../../images/chmel_wide.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 2.5em;
  padding-bottom: 2.5em;
}
.paragraph.sp-vyhody h2 {
  margin-top: 0;
}
.paragraph.sp-vyhody ul {
  font-size: 1.75em;
  padding-left: 0;
  padding-top: 1em;
  display: flex;
  justify-content: space-around;
  list-style: none;
  font-weight: 700;
  text-align: center;
}
.paragraph.sp-vyhody ul > li {
  max-width: 11.5em;
  line-height: 1.5;
}
.paragraph.sp-vyhody ul > li::before {
  display: none;
  content: none;
}
.paragraph.sp-program {
  background-color: #f2f0ee;
}
.paragraph.sp-program > .paragraph__content {
  width: 96%;
  max-width: 84rem;
  margin-left: auto;
  margin-right: auto;
}
.paragraph.sp-program ol {
  font-size: 1.5em;
  padding-left: 0;
  padding-top: 1em;
  display: flex;
  justify-content: space-around;
  list-style: none;
  font-weight: 700;
  text-align: center;
}
.paragraph.sp-program ol > li {
  max-width: 11em;
}
.paragraph.sp-program ol > li::before {
  display: none;
  content: none;
}
.paragraph.sp-program ol > li > p:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.paragraph.sp-program ol > li > p:first-child::after {
  display: block;
  content: '';
  margin-top: 0.21em;
  font-size: 4.9em;
}
.paragraph.sp-program ol > li:first-child > p:first-child::after {
  display: block;
  width: 1.0625em;
  height: 1em;
  background-image: url("/themes/custom/tpp/images/spolky_icons_ochre.svg");
  background-repeat: no-repeat;
  background-size: 9.275em;
  background-position-x: 0;
  background-position-y: -1.1425em;
}
.paragraph.sp-program ol > li:nth-child(2) > p:first-child::after {
  display: block;
  width: 1.0625em;
  height: 1em;
  background-image: url("/themes/custom/tpp/images/spolky_icons_ochre.svg");
  background-repeat: no-repeat;
  background-size: 9.275em;
  width: 1em;
  background-position-x: -1.36em;
  background-position-y: -1.1425em;
}
.paragraph.sp-program ol > li:nth-child(3) > p:first-child::after {
  display: block;
  width: 1.0625em;
  height: 1em;
  background-image: url("/themes/custom/tpp/images/spolky_icons_ochre.svg");
  background-repeat: no-repeat;
  background-size: 9.275em;
  width: 0.995em;
  background-position-x: -2.7em;
  background-position-y: -1.1425em;
}
.paragraph.sp-program ol strong {
  font-size: 1.125em;
}
.paragraph.sp-about-program {
  background-color: #f2f0ee;
  background-image: url("../../images/prazdroj_P.svg");
  background-position-y: calc(100% - 1.5em);
  background-position-x: calc(100% + 5em);
  background-repeat: no-repeat;
  background-size: 17em;
  padding-top: 3em;
  padding-bottom: 3em;
}
.paragraph.sp-about-program > .paragraph__content {
  width: 96%;
  max-width: 84rem;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 8em;
  position: relative;
}
.paragraph.sp-about-program > .paragraph__content::before {
  display: block;
  content: '';
  position: absolute;
  left: calc(50% - 0.0625em);
  background-color: #C09A51;
  top: 0;
  width: 0.125em;
  height: 100%;
}
.paragraph.sp-about-program ul {
  padding-left: 0;
}
.paragraph.sp-about-program ul > li::before {
  display: none;
  content: '';
}
.paragraph.sp-about-program h3 {
  margin-bottom: 1.5em;
  margin-top: 0;
}
.paragraph.sp-about-program h4 {
  margin-top: 1.5em;
}
.paragraph.divide {
  background-color: #064333;
  color: #C09A51;
}
.paragraph.divide > .paragraph__content--image {
  padding: 0 2%;
  margin-bottom: 0;
}
.paragraph.divide > .paragraph__content--image img {
  margin: auto;
}
@media (max-width: 50rem) {
  .paragraph.sp-vyhody ul {
    font-size: 1.5em;
  }
  .paragraph.divide {
    font-size: 0.9em;
  }
}
@media (max-width: 56rem) {
  .paragraph.sp-vyhody ul {
    flex-direction: column;
    align-items: center;
  }
  .paragraph.sp-vyhody > .paragraph__content {
    background-size: contain;
  }
  .paragraph.sp-program ol {
    flex-direction: column;
    align-items: center;
    font-size: 1.4em;
  }
  .paragraph.sp-about-program > .paragraph__content {
    grid-template-columns: 1fr;
  }
  .paragraph.sp-about-program > .paragraph__content::before {
    content: none;
    display: none;
  }
  .paragraph.sp-about-program > .paragraph__content > * + * {
    border-top: 0.0625em solid #C09A51;
    padding-top: 1em;
    margin-top: 1em;
  }
}
