/*
 Theme Name:   BeTheme Semtix Update
 Theme URI:    https://www.semtix.cz/
 Description:  Vlastní patička
 Author:       Semtix.cz
 Author URI:   https://www.semtix.cz
 Template:     betheme
 Version:      1.0.0
*/

@import url("../betheme/style.css");

/* Homepage hero: excavator arm photo + true full-width slider */
.home.page-id-2 .entry-content .wp-block-group > .wp-block-group__inner-container > .wp-block-cover.alignfull:first-of-type {
  background-image: url("/wp-content/uploads/2021/01/forest-3194475-1920.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  min-height: 560px;
  width: 100vw;
}

.home.page-id-2 .entry-content .wp-block-group > .wp-block-group__inner-container > .wp-block-cover.alignfull:first-of-type > .wp-block-cover__background {
  background-color: #000 !important;
  opacity: 0.42 !important;
}

/* Naše vozy pages: better vertical rhythm and no overlap with header/footer */
.page-id-1566 #Content .the_content_wrapper,
.page-id-1579 #Content .the_content_wrapper,
.page-id-1584 #Content .the_content_wrapper,
.page-id-1587 #Content .the_content_wrapper {
  padding-top: 20px;
  padding-bottom: 30px;
}

.page-id-1566 #Content .wp-block-cover.alignfull,
.page-id-1579 #Content .wp-block-cover.alignfull,
.page-id-1584 #Content .wp-block-cover.alignfull,
.page-id-1587 #Content .wp-block-cover.alignfull {
  margin-top: 16px;
  margin-bottom: 42px;
}

.page-id-1566 #Content .wp-block-group.has-background,
.page-id-1579 #Content .wp-block-group.has-background,
.page-id-1584 #Content .wp-block-group.has-background,
.page-id-1587 #Content .wp-block-group.has-background {
  margin-bottom: 42px;
}

/* Clear heading hierarchy + consistent spacing in content area */
#Content .the_content_wrapper h1,
#Content .the_content_wrapper .wp-block-heading h1,
#Content .the_content_wrapper .wp-block-heading.is-style-default.h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 1.15rem;
}

#Content .the_content_wrapper h2,
#Content .the_content_wrapper .wp-block-heading {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.2;
  margin-top: 2.4rem;
  margin-bottom: 1rem;
}

#Content .the_content_wrapper h3 {
  font-size: clamp(1.35rem, 2.15vw, 1.75rem);
  line-height: 1.25;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}

#Content .the_content_wrapper h4 {
  font-size: clamp(1.14rem, 1.7vw, 1.3rem);
  line-height: 1.35;
  margin-top: 1.6rem;
  margin-bottom: 0.75rem;
}

#Content .the_content_wrapper h5 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 1.3rem;
  margin-bottom: 0.6rem;
}

#Content .the_content_wrapper p,
#Content .the_content_wrapper ul,
#Content .the_content_wrapper ol {
  margin-top: 0;
  margin-bottom: 1.15rem;
}

#Content .the_content_wrapper .wp-block-heading + p,
#Content .the_content_wrapper .wp-block-heading + .wp-block-columns,
#Content .the_content_wrapper .wp-block-heading + .wp-block-group,
#Content .the_content_wrapper h1 + p,
#Content .the_content_wrapper h2 + p,
#Content .the_content_wrapper h3 + p {
  margin-top: 0.35rem;
}

#Content .the_content_wrapper .wp-block-group.has-background {
  margin-top: 1.4rem;
}
