/* =========================
   Geloren – hero carousel
========================= */

.geloren-slider,
.geloren-slider * {
  box-sizing: border-box;
}

.geloren-slider {
  --geloren-button: #18d4c6;
  --geloren-button-hover: #008b98;
  --geloren-text: #585858;

  position: relative;
  min-width: 0;
  margin: 32px auto 24px;
}

/* Všechny karty mají stejnou šířku i výšku. */
.geloren-slider .geloren-slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  align-items: stretch;
  gap: 0;

  width: 100%;
  min-width: 0;
  overflow-x: auto;

  border-radius: 28px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.geloren-slider__track::-webkit-scrollbar {
  display: none;
}

.geloren-slider .geloren-slider__slide {
  position: relative;
  display: flex;
  align-items: center;

  min-width: 0;
  min-height: 540px;
  margin: 0;
  padding: 64px;
  overflow: hidden;
  border-radius: 28px;

  background-color: #f6f9f8;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;

  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Pozadí jednotlivých bannerů */
.geloren-slider .geloren-slider__slide--kiwi {
  background-image: url("https://www.geloren.cz/user/documents/upload/Web_Final.jpg");
}

.geloren-slider .geloren-slider__slide--beauty {
  background-image: url("https://www.geloren.cz/user/documents/upload/Upraven%C3%A1.png");
}

.geloren-slider .geloren-slider__slide--mix {
  background-image: url("https://www.geloren.cz/user/documents/upload/geloren_active_mix_banner.png");
}

/* Obsah bannerů */
.geloren-slider .geloren-slider__content {
  position: relative;
  z-index: 1;
  width: 48%;
  max-width: 560px;
}

.geloren-slider .geloren-slider__badge {
  display: inline-flex;
  align-items: center;

  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 999px;

  background: #ffffff;
  color: #00a1b0;
  box-shadow: 0 8px 24px rgba(18, 21, 33, 0.12);

  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.geloren-slider .geloren-slider__content h2 {
  margin: 0 0 16px;
  color: var(--geloren-text);

  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.05;
}

.geloren-slider .geloren-slider__content p {
  max-width: 520px;
  margin: 0;
  color: var(--geloren-text);

  font-size: 18px;
  line-height: 1.55;
}

.geloren-slider .geloren-slider__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 20px;
  padding: 13px 22px;
  border-radius: 999px;

  background: var(--geloren-button);
  color: #ffffff;

  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;

  transition: background-color 0.2s ease;
}

.geloren-slider .geloren-slider__button:hover {
  background: var(--geloren-button-hover);
  color: #ffffff;
}

/* Ovládání pod bannerem */
.geloren-slider .geloren-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}

.geloren-slider .geloren-slider__controls[hidden] {
  display: none;
}

.geloren-slider .geloren-slider__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  min-width: 44px;
  margin: 0;
  padding: 0;

  border: 1px solid #e3e9e8;
  border-radius: 50%;
  background: #ffffff;
  color: #585858;
  box-shadow: none;

  cursor: pointer;
  appearance: none;
  transition: background-color 0.2s ease;
}

.geloren-slider .geloren-slider__arrow:hover {
  background: #eef9f7;
}

.geloren-slider .geloren-slider__dots {
  display: flex;
  align-items: center;
  gap: 2px;
}

.geloren-slider .geloren-slider__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  min-width: 44px;
  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;

  cursor: pointer;
  appearance: none;
}

.geloren-slider .geloren-slider__dot::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9d5d3;
}

.geloren-slider .geloren-slider__dot[aria-current="true"]::before {
  background: #008b98;
}

.geloren-slider .geloren-slider__button:focus-visible,
.geloren-slider .geloren-slider__arrow:focus-visible,
.geloren-slider .geloren-slider__dot:focus-visible {
  outline: 3px solid #005f68;
  outline-offset: 4px;
}

/* Informace pro čtečky obrazovky */
.geloren-slider .geloren-slider__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Tablet */
@media (max-width: 991px) {
  .geloren-slider .geloren-slider__track {
    border-radius: 24px;
  }

  .geloren-slider .geloren-slider__slide {
    min-height: 380px;
    padding: 48px 36px;
    border-radius: 24px;
  }

  .geloren-slider .geloren-slider__content h2 {
    font-size: clamp(32px, 4.5vw, 46px);
  }
}

/* Mobil – fotografie nahoře, text pod ní */
@media (max-width: 767px) {
  .geloren-slider {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin: 24px calc(50% - 50vw + 12px) 18px;
  }

  .geloren-slider .geloren-slider__slide {
    min-height: 460px;
    padding: 320px 24px 40px;
    align-items: flex-start;
    text-align: center;

    background-size: auto 300px;
    background-position: 80% top;
  }

  .geloren-slider .geloren-slider__slide--beauty {
    background-position: 72% top;
  }

  .geloren-slider .geloren-slider__slide--mix {
    background-position: 80% top;
  }

  .geloren-slider .geloren-slider__content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .geloren-slider .geloren-slider__content h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .geloren-slider .geloren-slider__content p {
    max-width: 100%;
    font-size: 16px;
  }

  .geloren-slider .geloren-slider__button {
    margin-top: 18px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .geloren-slider .geloren-slider__controls {
    gap: 12px;
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .geloren-slider .geloren-slider__button,
  .geloren-slider .geloren-slider__arrow {
    transition: none;
  }
}

/* Černý odstavec pouze u Active Mixu */
.geloren-slider
.geloren-slider__slide--mix
.geloren-slider__content p {
  color: #000000 !important;
}

/* Slider jako první obsah bez horního odsazení */
#content > .geloren-slider {
  margin-top: 0;
}

/* Velikost nově vytvořených šipek */
.geloren-slider .geloren-slider__arrow {
  font-size: 20px;
  line-height: 1;
}

/* =========================
   Horní 3 dlaždice
========================= */

.geloren-home-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 100%;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.geloren-home-card {
  position: relative;
  min-height: 390px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #ffffff;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.geloren-home-card--active {
  background-image: url("https://www.geloren.cz/user/documents/upload/EFA_4473.jpg") !important;
}

.geloren-home-card--dog {
  background-image: url("https://www.geloren.cz/user/documents/upload/EFA_4884.jpg") !important;
}

.geloren-home-card--beauty {
  background-image: url("https://www.geloren.cz/user/documents/upload/Contipro_dron.jpg") !important;
}

.geloren-home-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.04) 0%,
    rgba(0, 0, 0, 0.68) 100%
  );
}

.geloren-home-card__content {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.geloren-home-card__content span {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.geloren-home-card__content h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.12;
}

.geloren-home-card__content p {
  margin: 0;
  max-width: 320px;
  font-size: 15px;
  line-height: 1.5;
}

.geloren-home-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 13px 22px;
  border-radius: 999px;
  background-color: #18D4C6;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.geloren-home-card__button:hover {
  background-color: #008b98;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Tablet */

@media (max-width: 991px) {
  .geloren-beauty-hero {
    min-height: 380px;
    padding: 48px 36px;
    border-radius: 24px;
    background-position: center;
  }

  .geloren-beauty-hero__content h2 {
    font-size: clamp(32px, 7vw, 46px);
  }

  .geloren-home-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }

  .geloren-home-card {
    min-height: 300px;
    border-radius: 22px;
  }

  .geloren-home-card__content {
    padding: 24px;
  }
}

/* Mobil */

@media (max-width: 767px) {
  .geloren-beauty-hero {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    min-height: 460px;
    margin: 24px calc(50% - 50vw + 12px) 18px;
    padding: 40px 24px;
    align-items: flex-end;
    text-align: center;
    background-position: center top;
  }

  .geloren-beauty-hero::before {
    background: linear-gradient(
      180deg,
      rgba(18, 21, 33, 0.08) 0%,
      rgba(18, 21, 33, 0.58) 48%,
      rgba(18, 21, 33, 0.88) 100%
    );
  }

  .geloren-beauty-hero__content {
    max-width: 100%;
    margin: 0 auto;
  }

  .geloren-beauty-hero__content span {
    margin-left: auto;
    margin-right: auto;
  }

  .geloren-beauty-hero__content h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .geloren-beauty-hero__content p {
    font-size: 16px;
    line-height: 1.55;
  }

  .geloren-home-cards {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin: 0 calc(50% - 50vw + 12px) 40px;
    padding: 0;
  }

  .geloren-home-card {
    min-height: 320px;
  }

  .geloren-home-card__content {
    text-align: center;
    margin: 0 auto;
  }

  .geloren-home-card__content p {
    max-width: 100%;
  }

  .geloren-home-card__button {
    margin-top: 18px;
    padding: 12px 20px;
    font-size: 14px;
  }
}
/*
   Geloren info karty
*/
.geloren-info-card__content span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #00A1B0 !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}
.geloren-info-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 100%;
  margin: 64px auto;
  padding: 0 24px;
}
.geloren-info-card {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #ffffff;
}
/* Obrázky karet */
.geloren-info-card--research {
  background-image: url("https://www.geloren.cz/user/documents/upload/vyroba-geloren.png");
  background-position: center right;
}
.geloren-info-card--jelly {
  background-image: url("https://www.geloren.cz/user/documents/upload/vyzkumnice-contipro.png");
  background-position: center;
}
.geloren-info-card--runner {
  background-image: url("https://www.geloren.cz/user/documents/upload/Untitled_00126.jpg");
  background-position: center right;
}
.homepage-box.welcome-wrapper p {color: #ffffff;}
/* Overlay */
.geloren-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.72) 100%
  );
  pointer-events: none;
}
/* Obsah */
.geloren-info-card__content {
  position: relative;
  z-index: 2;
  padding: 32px;
  text-align: left;
}
.geloren-info-card__content span {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
}
.geloren-info-card__content h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2vw, 28px);
  line-height: 1.12;
  font-weight: 700;
  color: #ffffff;
}
.geloren-info-card__content p {
  margin: 0;
  max-width: 360px;
  font-size: 16px;
  line-height: 1.5;
  color: #ffffff;
}
/* Tablet */
@media (max-width: 991px) {
  .geloren-info-cards {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 40px auto;
    padding: 0 16px;
  }

  .geloren-info-card {
    min-height: 340px;
    border-radius: 24px;
  }

  .geloren-info-card__content {
    padding: 28px;
  }
}
/* Mobil */
@media (max-width: 767px) {
  .geloren-info-cards {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin: 32px calc(50% - 50vw + 12px);
    padding: 0;
  }

  .geloren-info-card {
    min-height: 360px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .geloren-info-card__content {
    padding: 28px 22px;
    text-align: center;
  }

  .geloren-info-card__content p {
    max-width: 100%;
  }
}



/* =========================
   Geloren follow sekce
========================= */

.geloren-follow-section {
  max-width: 1440px;
  margin: 72px auto 80px;
  padding: 0 24px;
}

.geloren-follow-section__inner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-height: 280px;
  padding: 56px 64px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 86% 22%, rgba(0, 161, 176, 0.22) 0%, rgba(0, 161, 176, 0) 34%),
    linear-gradient(135deg, #f1f9fc 0%, #ffffff 58%, #e8f8fa 100%);
}

.geloren-follow-section__inner::before {
  content: "@geloren_official";
  position: absolute;
  right: 42px;
  bottom: -18px;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 1;
  font-weight: 900;
  color: rgba(0, 161, 176, 0.08);
  pointer-events: none;
  white-space: nowrap;
}

.geloren-follow-section__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.geloren-follow-section__content span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: #00A1B0 !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.geloren-follow-section__content h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.08;
  font-weight: 900;
  color: #121521 !important;
}

.geloren-follow-section__content p {
  margin: 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.65;
  color: #263238 !important;
  opacity: 1 !important;
}

.geloren-follow-section__actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  min-width: 300px;
}

.geloren-follow-section__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #18D4C6;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.geloren-follow-section__actions a:hover {
  background: #008b98;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Tablet */

@media (max-width: 991px) {
  .geloren-follow-section {
    margin: 56px auto 64px;
    padding: 0 16px;
  }

  .geloren-follow-section__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 44px 36px;
    border-radius: 28px;
  }

  .geloren-follow-section__actions {
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
  }
}

/* Mobil */

@media (max-width: 767px) {
  .geloren-follow-section {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin: 40px calc(50% - 50vw + 12px) 56px;
    padding: 0;
  }

  .geloren-follow-section__inner {
    align-items: center;
    text-align: center;
    min-height: auto;
    padding: 40px 24px;
    border-radius: 24px;
  }

  .geloren-follow-section__inner::before {
    left: 50%;
    right: auto;
    bottom: -8px;
    transform: translateX(-50%);
    font-size: 52px;
  }

  .geloren-follow-section__content span {
    margin-left: auto;
    margin-right: auto;
  }

  .geloren-follow-section__content h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .geloren-follow-section__content p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.6;
  }

  .geloren-follow-section__actions {
    justify-content: center;
    width: 100%;
  }

  .geloren-follow-section__actions a {
    width: 100%;
    min-width: 0;
  }
}

/* =========================
   Certifikace nad patičkou – kompaktní verze
========================= */

.geloren-cert-section {
  width: 100vw !important;
  margin: 56px calc(50% - 50vw) -1px !important;
  padding: 34px 24px !important;
  background: #f4f4f4 !important;
}

.geloren-cert-section__inner {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 56px !important;
  max-width: 760px !important;
  margin: 0 auto !important;
}

.geloren-cert-section__item {
  text-align: center !important;
  color: #121521 !important;
}

.geloren-cert-section__item strong {
  display: block !important;
  font-size: clamp(24px, 2vw, 34px) !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

.geloren-cert-section__item span {
  display: block !important;
  margin-top: 5px !important;
  font-size: clamp(17px, 1.5vw, 22px) !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  color: #6f747a !important;
}

.geloren-cert-section__logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.geloren-cert-section__logo img {
  display: block !important;
  max-width: 150px !important;
  width: 100% !important;
  height: auto !important;
  opacity: 0.72 !important;
}

/* Odstranění mezery před patičkou */
body.in-index #content,
body.in-index .content,
body.in-index .content-inner,
body.in-index .content-wrapper-in {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Mobil */
@media (max-width: 767px) {
  .geloren-cert-section {
    margin-top: 40px !important;
    padding: 32px 24px !important;
  }

  .geloren-cert-section__inner {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    max-width: 320px !important;
  }

  .geloren-cert-section__logo img {
    max-width: 96px !important;
  }

  .geloren-cert-section__item strong {
    font-size: 28px !important;
  }

  .geloren-cert-section__item span {
    font-size: 20px !important;
  }
}

/* Skrytí posledních komentářů/hodnocení na homepage */
body.in-index .latest-contribution-box {
  display: none !important;
}

/* Dotažení certifikační sekce k patičce */
body.in-index .homepage-box.welcome-wrapper,
body.in-index .homepage-box.welcome-wrapper .content-wrapper-in,
body.in-index .homepage-box.welcome-wrapper .container,
body.in-index .welcome-wrapper,
body.in-index .welcome {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.in-index .geloren-cert-section {
  margin-bottom: 0 !important;
}

body.in-index #footer,
body.in-index .footer {
  margin-top: 0 !important;
}


.geloren-cert-section__item,
.geloren-cert-section__logo {
  text-decoration: none !important;
}

.geloren-cert-section__item:hover,
.geloren-cert-section__logo:hover {
  text-decoration: none !important;
}

.geloren-cert-section__item:hover {
  opacity: 0.75;
}

.geloren-cert-section__logo:hover img {
  opacity: 0.9 !important;
}

/* Skrytí telefonu, Facebooku a Instagramu pouze ve spodní části patičky */
#footer .footer-bottom .footer-socials .contact-box li:has(.cellphone),
#footer .footer-bottom .footer-socials .contact-box li:has(.facebook),
#footer .footer-bottom .footer-socials .contact-box li:has(.instagram) {
  display: none !important;
}
