/* =======================================================
   Landing page template — shared base styles
   Extracted from style.css. Originally built for the
   "Vse od Broni" (vob) product landing page; reused as the
   base for other landing-style pages (front page, apsp,
   brona-plus). Page-specific overrides live in their own
   assets/css/*.css files and load after this one.
   ======================================================= */

.vob.feature {
  min-height: 545px;
  background: url(../../img/vob-banner-feature.png) center center no-repeat;
  margin-bottom: 2em;
}

.vob.feature .item-background img{
  display: none;
}

.vob-perex {
  display: flex;
  background: #fff;
  padding: 2em;
  box-sizing: border-box;
  border-radius: 1em;
  margin-bottom: 2em;
}

.vob-perex img {
  max-width: 160px;
}

.vob-perex .one-third {
  text-align: center;
}

.vob-basic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
  padding: 2em 0;
}

.vob-photo {
  padding-bottom: 0;
}

.vob .item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 500px;
}

.vob .item-photo img {
  margin: 0 auto;
}

.vob.feature .item-text {
  padding: 140px 0 0 50px;
}

.vob.feature .single_add_to_cart_button {
  margin-bottom: 1em;
}

.vob {
  font-size: 17px;
  font-weight: 500;
}

.vob h1 {
  font-size: 50px;
  font-weight: 700;
  padding-bottom: 0.5em
}

.vob h2 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
}

.vob h3 {
  font-size: 24px;
  line-height: 36px;
  font-weight: 500;
}

.vob.feature h2 {
  max-width: 520px;
}

.vob .small {
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

.vob-discount {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.vob .masterclass-feature-icon .fa-solid {
  color: #F57861;
}

.vob-course-rating {
  background: #f6f5f3;
  border-radius: 1em;
  padding: 0.5em 1em;
  margin-bottom: 1em;
  max-width: 100px;
}

.vob-gain .item-text {
  max-width: 390px;
}

.vob-perex .vob-perex-text {
  max-width: 600px;
}

.vob-benefits .container .item,
.vob-basic .vcenter {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vob-benefits .item-text {
  padding-left: 2em;
}

.vob-video {
  max-width: 600px;
  margin: 2em auto;
}

.vob-buy {
  padding-top: 2em;
  text-align: center;
  min-height: 425px;
  background: url(../../img/buy-white.jpg) center center no-repeat;
}

.vob-buy p {
  max-width: 600px;
  margin: 0 auto;
}

.vob-benefits .vob-video {
  position: relative;
  z-index: 2;
  /* aby bylo nad další sekcí */
  transform: translateY(120px);
  margin-top: -120px;
}

.vob-gain .item-photo {
  text-align: center;
}

.vob-gain .item-photo img {
  margin: 0 auto;
}

.vob-brona .item-text img {
  max-width: 150px;
}

.vob-buy-grey {
  text-align: center;
  min-height: 480px;
  background: url(../../img/vob-okraje-ovaly-01.png) center bottom no-repeat;
}

.vob-buy-01 {
  padding-top: 120px;
}

.vob-buy-2 {
  background: url(../../img/vob-okraje-ovaly-02.png) center bottom no-repeat;
  height: 380px;
}

.vob-buy-3,
.vob-buy-4,
.vob-buy-5 {
  padding-top: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 409px;
  background: url(../../img/vob-okraje-ovaly-03.png) center bottom no-repeat;
}

.vob-buy-4 {
  background: url(../../img/vob-okraje-ovaly-04.png) center bottom no-repeat;
}

.vob-buy-5 {
  height: 320px;
  background: url(../../img/vob-okraje-ovaly-05.png) center bottom no-repeat;
}

.woocommerce .vob button.button.alt,
.woocommerce .vob a.button.alt,
.woocommerce .vob input.button.alt {
  background: #ffcf4e !important;
  border: 1px solid #ffcf4e !important;
  color: #1E3D6B !important;
  width: auto;
  padding: 0 1.5em;
  font-size: 23px;
  font-family: 'Poppins', sans-serif !important;
}

.woocommerce .vob button.button.alt:hover,
.woocommerce .vob a.button.alt:hover,
.woocommerce .vob input.button.alt:hover {
  filter: brightness(105%);
}

.woocommerce .vob.feature button.button.alt {
  border: 2px solid #fff !important;
  line-height: 48px;
  height: 50px;
  background-color: #fff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .30);
}

.woocommerce .vob.feature button.button.alt:hover {
  background: #F87761 !important;
  border: 2px solid #F87761 !important;
  color: #fff !important;
}

.vob.feature .single_add_to_cart_button::before {
  content: "\f07a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  /* důležité pro solid ikony */
  font-size: 23px;
  display: inline-block;
  margin-right: 0.5em;
}

.vob-courses h2,
.vob-courses p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.vob-courses p {
  text-align: left;
}

.vob .course-detail-image {
  width: 100%;
  position: relative;
}

.vob .course-detail-image img {
  width: 100%;
  max-width: 460px;
  height: auto;
}

.vob-courses,
.vob .packet-items-grid {
  max-width: 980px;
  margin: 0 auto;
}

.vob-reference,
.vob .packet-items-grid {
  padding-top: 2em;
}

.vob-courses {
  padding: 2em 0;
}

.vob-reference h2{
  text-align: center;
}

.vob .vob-course-price {
  width: 200px;
  background: #ffcf4e;
  height: 36px;
  line-height: 36px;
  top: 1em;
  left: 0;
  position: absolute;
  font-weight: 700;
  text-indent: 1em;
  border-radius: 5px;
}

.vob-carousel-viewport,
.vob-review-viewport {
  overflow: hidden;
}

.vob-carousel-courses .packet-items-grid {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.vob-review-list {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.vob-review-list::-webkit-scrollbar {
  display: none;
}

.vob-carousel-courses .course-content-landing {
  flex: 0 0 calc((100% - 48px) / 3);
}

.vob-review-item {
  flex: 0 0 calc((100% - 72px) / 4);
  scroll-snap-align: start;
  border-radius: 1em;
  box-sizing: border-box;
}

.vob-review-item-inner {
  background: #fff;
  padding: 1.8em;
  font-size: 16px;
}

.vob-review-item-inner strong {
  margin-top: 1em;
}

.vob-reference .vob-course-rating {
  background: #fff;
  border: 1px solid #e8e6e9;
  padding: 0.3em 0.5em;
  max-width: 100px;
}

.vob-review-slider {
  position: relative;
}

.vob-carousel-arrow,
.vob-review-arrow {
  display: block;
  width: 0;
  height: 0;
  cursor: pointer;
}

.vob-carousel-arrow.next,
.vob-review-arrow.next {
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #e5e5e5;
}

.vob-carousel-arrow.prev,
.vob-review-arrow.prev {
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 16px solid #e5e5e5;
}

.vob-review-dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 2em 0;
}

.vob-review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e6e6e6;
  cursor: pointer;
}

.vob-review-dot.active {
  background: #5271ff;
}

.vob-carousel-nav,
.vob-review-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.vob-carousel-dots,
.vob-review-dots {
  display: flex;
  gap: 10px;
}

.vob-review-item-inner {
  border-radius: 2em;
}


.vob-carousel-arrows,
.vob-review-arrow {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.vob-brona .item-text h3,
.vob-brona .item-text p {
  max-width: 460px;
}

.vob-carousel-arrows,
.vob-review-arrows {
  display: flex;
  gap: 12px;
}

.vob-review-slider--cards {
  max-width: 704px;
}

.vob-review-slider--cards .vob-review-item {
  flex: 0 0 340px;
}

.vob-review-slider--cards .vob-review-item-inner {
  border: 1px solid #eef0f4;
  box-shadow: 0 10px 30px rgba(20, 30, 60, 0.08);
}

.vob-review-slider--cards .vob-course-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  max-width: none;
  width: fit-content;
  white-space: nowrap;
  margin: 0 0 1em;
}

@media screen and (max-width: 960px) {

  .vob-basic {
    display: block;
  }

  .vob.feature{
    min-height: auto;
    background: #ffcf4e;
    border-radius: 1em;
    padding: 2em 2em 0 2em;
    box-sizing: border-box;
  }

  .vob.feature .item-background img{
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .vob.feature .item-text {
    padding: 0;
  }

  .vob-buy,
  .vob-buy-grey {
    min-height: auto;
    background: transparent;
    padding-bottom: 2em;
  }

  .vob-carousel-courses .course-content-landing,
  .vob-review-list .vob-review-item {
    flex-basis: calc((100% - 24px) / 2);
  }

  .vob.feature .item-text,
  .vob-brona .item-text {
    text-align: center;
  }

  .vob.feature h3 {
    max-width: none;
  }

  .vob-brona .item-text img {
    margin: 0 auto 2em auto;
    max-width: 260px;
    width: 60%;
  }

  .vob-video {
    max-width: none;
  }

  .vob.course-faq {
    padding: 2em 1em 1em 1em;
  }

  .vob-photo-left {
    grid-template-columns: 1fr;
    /* jeden sloupec */
    display: grid;
  }

  .vob-photo-left .item-text {
    order: 1;
  }

  .vob-photo-left .item-photo {
    order: 2;
  }

  .vob-buy,
  .vob-buy-01,
  .vob-buy-2,
  .vob-buy-3,
  .vob-buy-4,
  .vob-buy-5 {
    min-height: auto;
    padding: 2em 0;
    height: auto;
  }
}

@media screen and (max-width: 768px) {

  .vob-carousel-courses .course-content-landing,
  .vob-review-list .vob-review-item {
    flex-basis: 100%;
  }

  .vob-perex {
    display: block;
  }

  .vob-course-rating {
    margin: 0 auto 1em auto;
  }

  .vob.feature .single_add_to_cart_button::before {
    display: none;
  }

  .woocommerce .vob.feature button.button.alt,
  .woocommerce .vob button.button.alt,
  .woocommerce .vob a.button.alt,
  .woocommerce .vob input.button.alt {
    padding: 0.5em 1em;
    font-size: 21px;
    height: auto;
    line-height: 1.3;
  }

  .vob.course-faq {
    padding: 1em 0;
  }

  .vob .item img {
    max-width: 440px;
  }

  .vob-gain .item-text,
  .vob-benefits .item-text {
    padding-left: 1em;
  }

  .vob-carousel-dots {
    align-items: center;
  }

  .vob-carousel-nav,
  .vob-review-nav {
    margin-top: 10px;
  }

  .vob-carousel-dots,
  .vob-review-dots {
    margin: 1em 0 2em 0;
  }

  .vob-benefits .vob-video {
    transform: translateY(0);
    margin-top: 0;
  }

  .vob-video {
    padding-bottom: 20px;
  }

  .vob-review-slider,
  .vob-carousel-courses {
    position: relative;
  }

  .vob-carousel-nav,
  .vob-review-nav {
    justify-content: center;
  }

  .vob-review-arrows,
  .vob-carousel-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    /* šipky neblokují swipe */
  }

  .vob-review-arrow,
  .vob-carousel-arrow {
    pointer-events: auto;
    /* ale samotná tlačítka jsou kliknutelná */
  }

  .vob-review-arrow,
  .vob-carousel-arrow {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .vob-carousel-arrow.prev,
  .vob-review-arrow.prev {
    border-right: 12px solid #fff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
  }

  .vob-carousel-arrow.next,
  .vob-review-arrow.next {
    border-left: 12px solid #fff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
  }

  .vob-review-arrow.prev::before,
  .vob-review-arrow.next::before,
  .vob-carousel-arrow.prev::before,
  .vob-carousel-arrow.next::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* zarovnání na střed */
  }

  .vob-review-arrow.prev::before,
  .vob-carousel-arrow.prev::before {
    transform: translate(calc(-50% + 6px), -50%);
  }

  .vob-review-arrow.next::before,
  .vob-carousel-arrow.next::before {
    transform: translate(calc(-50% - 6px), -50%);
  }

  .vob-review-arrow.prev::before,
  .vob-carousel-arrow.prev::before {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 14px solid #1E3D6B;
  }

  .vob-review-arrow.next::before,
  .vob-carousel-arrow.next::before {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 14px solid #1E3D6B;
  }

  .vob-review-arrows,
  .vob-carousel-arrows {
    padding: 0;
    /* ať se neomezuje horizontálně */
  }

  .vob-review-arrow.prev,
  .vob-carousel-arrow.prev {
    margin-left: -1em;
  }

  .vob-review-arrow.next,
  .vob-carousel-arrow.next {
    margin-right: -1em;
  }
}

@media screen and (max-width: 460px) {

  .vob-buy {
    padding-bottom: 20px;
  }

  .vob.feature {
    padding: 2em 1em 0 1em;
  }

  .vob h1 {
    font-size: 40px;
  }

  .vob h2 {
    font-size: 26px;
    line-height: 36px;
  }

  .vob h3 {
    font-size: 21px;
    line-height: 30px;
  }

  .vob .item-photo img,
  .vob-gain .item-photo img {
    width: 300px;

  }
}
