/*
Theme Name: BackieBelt Theme
Theme URI:  https://www.jakubca.com
Author:     Adrián Jakubča
Author URI: https://www.jakubca.com
Template:   hello-elementor
Version:    1.0
License:    GNU General Public License v2 or later
*/

/*                          ---                          */
/* -------------------- Fonts MAIN --------------------- */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;600;700;800;900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;800&display=swap");
/* ----------------------------------------------------- */

/*                          ---                          */
/* ------------------ Dimensions MAIN ------------------ */
:root {
  /* -- Main navigation */
  --nav-height: 125px;

  /* -- Headers heights */
  --h-index-height: 90%;
  --h-index-height-min: 200px;
  --h-index-height-max: 1200px;

  /* -- Main logo */
  --main-logo-left-margin: 50px;

  --video-opacity: 0.4;
  --nav-backdrop: 10px;

  --padding-body-title: 50px;

  --services-box-opacity: 0.5;
  --services-flip-card-img-grayscale: 0.75;
}

@media screen and (min-width: 1241px) {
  :root {
    --nav-margin-top: 50px;

    --margin-body: 100px;
    --margin-inner: 50px;

    --padding-body: 100px;
    --padding-inner: 50px;

    --max-width: 1400px;
  }
}
@media screen and (max-width: 1240px) {
  :root {
    --nav-margin-top: 50px;

    --margin-body: 50px;
    --margin-inner: 25px;

    --padding-body: 50px;
    --padding-inner: 25px;

    --max-width: 100%;
  }
}
@media screen and (max-width: 744px) {
  :root {
    --nav-margin-top: 50px;

    --margin-body: 50px;
    --margin-inner: 25px;

    --padding-body: 50px;
    --padding-inner: 25px;

    --max-width: 100%;
  }
}
@media screen and (max-width: 428px) {
  :root {
    --nav-margin-top: 25px;

    --margin-body: 25px;
    --margin-inner: 15px;

    --padding-body: 25px;
    --padding-inner: 15px;

    --max-width: 100%;
  }
}
@media only screen and (max-width: 320px) {
  :root {
    --nav-margin-top: 10px;

    --margin-body: 10px;
    --margin-inner: 10px;

    --padding-body: 10px;
    --padding-inner: 10px;

    --max-width: 100%;
  }
}
/* ----------------------------------------------------- */

/*                          ---                          */
/* -------------------- Colors MAIN -------------------- */
:root {
  --white: #ffffff;
  --black: #000000;
  --red: #ff0000;

  --autor-primary: #2ca8a0;
  --autor-secondary: #2ca8a0;

  --primary: rgb(152 199 215);
  --primary-light: #add8e6;
  --secondary: #176b87;

  --footer-text: rgb(145, 188, 203);
}
/* ----------------------------------------------------- */

/*                          ---                          */
/* ------------------- Settings MAIN ------------------- */
* {
  font-family: "Montserrat", Arial, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
*:focus {
  outline: none;
}
html {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  width: 100%;
  height: 100%;
  min-height: 100% !important;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  overflow-x: hidden;
  background-color: var(--primary-light) !important;
  /* font-size: clamp(16px, 4vw, 24px);
  font-size: 4vw; */
}
body.disable-scrollbar {
  overflow: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
body.disable-scrollbar::-webkit-scrollbar {
  display: none;
}
h1 {
  display: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}
a,
img,
strong,
button,
svg,
span {
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -ms-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}
a {
  text-decoration: none;
}
p,
ul,
li {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
img {
  border-style: none;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform-origin: center;
}
button {
  border: 0;
}
/* ----------------------------------------------------- */

/* --  Xxx START --------------------------------------- */
.d-flex {
  display: flex;
}
/* ----------------------------------------------------- */

/* --  Header START ------------------------------------ */
header {
  height: var(--nav-height);
  background-color: #ff0000;
}
.header-wrapper {
  width: 100%;
  max-width: var(--max-width);
  height: 100%;
  margin: auto;
  display: flex;
  padding: 0 var(--padding-inner) 0 var(--padding-inner);
  justify-content: space-between;
}

.header-left {
  width: 200px;
  display: flex;
  align-items: center;
  gap: 25px;
}
.header-left svg {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transform-origin: center;
}
.header-left svg.svg-logo-back {
  width: 110px;
}
.header-left svg.svg-logo-bcs {
  width: 55px;
}

.header-center {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}
.header-center .svg-logo-sukl {
  width: 120px;
}
.header-center .svg-logo-backiebelt {
  width: 160px;
}
.header-center .svg-logo-ce {
  width: 46px;
}

.header-right {
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 50px;
}

.header-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
}

.header-social a {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-social span {
  display: none;
}
.header-social a svg {
  width: 100%;
  height: 100%;
  display: block;
}
.header-social a svg .footer-icon-facebook-bg {
  fill: #000000;
  opacity: 1;
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -ms-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}
.header-social a:hover svg .footer-icon-facebook-bg {
  fill: #3b5998;
  opacity: 1;
}
.header-social a svg .footer-icon-facebook {
  fill: var(--white);
  opacity: 0;
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -ms-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}
.header-social a:hover svg .footer-icon-facebook {
  opacity: 1;
}

.header-card {
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  border-radius: 4px;
  display: flex;
  justify-self: center;
  gap: 10px;
  position: relative;
}
.header-card::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 50%;
  left: -26px;
  top: 0;
  bottom: 0;
  margin: auto;
  border-radius: 4px;
  background-color: #b80000;
}
.header-svg-cart {
  width: 34px;
  height: auto;
  fill: var(--black);
}
.header-card:hover .header-svg-cart {
  fill: var(--white);
}

@media screen and (max-width: 960px) {
  header {
    height: auto;
    padding: 20px 0;
  }
  .header-wrapper {
    gap: 20px;
  }
  .header-left {
    display: none;
  }
  .header-center {
    width: 100%;
    flex: none;
    gap: 20px;
    flex: 1;
  }
  .header-center .svg-logo-sukl {
    width: 70px;
  }
  .header-center .svg-logo-ce {
    width: 26px;
  }
  .header-center .svg-logo-backiebelt {
    width: 100px;
  }
  .header-center a:nth-child(2) {
    order: -1;
  }
  .header-right {
    width: 40px;
    gap: 0;
  }

  .header-social {
    display: none;
  }
}
/*                          ---                          */
/* --  Header END -------------------------------------- */

/*                          ---                          */
/* --  Main START -------------------------------------- */
.main-wrapper {
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  padding: var(--padding-inner) var(--padding-inner);
}
/* --  Main END ---------------------------------------- */

/*                          ---                          */
/* --  Titles START ------------------------------------ */
h3.section {
  color: var(--secondary);
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 20px 0;
}
/* --  Titles END -------------------------------------- */

/*                          ---                          */
/* --  Sections Seklo Ma START ------------------------- */
.section-seklo-ma {
  background-color: var(--primary);
  padding: var(--padding-inner) var(--padding-inner);
  margin: 0 0 var(--padding-inner) 0;
  border-radius: 4px;
}
.section-seklo-ma a {
  display: flex;
  font-size: 1.25rem;
  color: var(--white);
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 21px 20px 20px 20px;
  background-color: var(--red);
}
.section-seklo-ma a:hover {
  color: var(--white);
  background-color: var(--secondary);
}
/* --  Sections Seklo Ma END --------------------------- */

/*                          ---                          */
/* --  Sections Fitapoteka START ----------------------- */
.section-fitapoteka {
  display: flex;
  gap: var(--padding-inner);
  background-color: var(--primary);
  padding: var(--padding-inner) var(--padding-inner);
  border-radius: 4px;
  justify-content: center;

  display: none;
}
.fitapoteka-column {
  width: 40%;
}

@media (max-width: 992px) {
  .section-fitapoteka {
    flex-direction: column;
    align-items: center;
  }
  .fitapoteka-column {
    width: 80%;
  }
}
/* --  Sections Fitapoteka END ------------------------- */

/*                          ---                          */
/* --  Sections Hero START ----------------------------- */
.section-hero {
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--padding-inner);
  padding: var(--padding-inner) var(--padding-inner) 0 var(--padding-inner);
  border-radius: 4px;
  justify-content: center;
  margin: 0 auto 0 auto;
}
.section-hero .content-wrapper {
  background-color: var(--primary);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 25px;
}


.section-hero .image {
  max-height: 375px;
}
.section-hero .image img {
  height: 100%;
  object-fit: contain;
}


.section-hero .buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section-hero .button {
  background-color: var(--secondary);
  border-radius: 4px;
}
.section-hero .button a {
  width: 100%;
  display: block;
  padding: 10px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--white);
}
.section-hero .button a:hover {
  background-color: var(--black);
}


@media (max-width: 992px) {
  .section-hero {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--padding-inner);
  padding: var(--padding-inner) var(--padding-inner);
  border-radius: 4px;
  justify-content: center;
  margin: 0 auto 0 auto;
}
}
/* --  Sections Hero END ------------------------------- */

/*                          ---                          */
/* --  Sections Free Book START ------------------------ */
.section-free-book {
	
  max-width: 900px;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: var(--padding-inner) var(--padding-inner);
  border-radius: 4px;
  margin: 0 auto var(--padding-inner) auto;
}
.section-free-book .content-wrapper {
  width: 100%;
  background-color: var(--red);
  color: var(--white);
  position: relative;
  border-radius: 2px;
  padding: 40px 50px;
}
.section-free-book img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin-top: auto;
  margin-bottom: auto;
  width: 175px;
}
.section-free-book span {
  font-weight: 500;
  font-size: 1.1rem;
}
.section-free-book .content-wrapper:hover {
  background-color: var(--black);
}
@media (max-width: 992px) {
  .section-free-book .content-wrapper {
    background-color: var(--red);
    color: var(--white);
    position: relative;
    text-align: center;
    border-radius: 2px;
  }
}
/* --  Sections Free Book END -------------------------- */

/*                          ---                          */
/* --  Sections Slider START --------------------------- */
.section-slider {
  padding: var(--padding-inner) 0;

  padding: 0 0 var(--padding-inner) 0;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  display: block;
}

/* nastaví výšku podľa obrázka */
.slider-container img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-track-single {
  display: flex;
  transition: transform 0.4s ease;
  width: 100%;
}

.slide-single {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

/* šípky */
.arrow-single {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.arrow-single.left {
  left: 10px;
}

.arrow-single.right {
  right: 10px;
}

/* bodky */
.dots-single {
  text-align: center;
  margin-top: 10px;
}

.dot-single {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.dot-single.active {
  background-color: #717171;
}

/* --  Sections Slider END ----------------------------- */

/*                          ---                          */
/* --  Sections Box Grid START ------------------------- */
.section-box-grid {
  background-color: var(--primary);
  padding: var(--padding-inner) var(--padding-inner);
  border-radius: 4px;
}
.section-box-grid .buttons-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}
.section-box-grid .buttons-wrapper.two-column {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .section-box-grid .buttons-wrapper.two-column {
    grid-template-columns: 1fr;
  }
}
.section-box-grid .buttons-wrapper a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  background-color: var(--secondary);
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  text-align: center;
}
.section-box-grid .buttons-wrapper a:hover {
  background-color: var(--red);
}
/* --  Sections Box Grid END --------------------------- */

/*                          ---                          */
/* --  Sections Box Slider START ----------------------- */
.slider-multi-container {
  width: 100%;
  max-width: 900px; /* alebo 100% ak chceš responzívne */
  overflow: hidden;
  position: relative;
  margin: 30px auto;
  border: 1px solid #ccc;
}

.slider-multi-track {
  display: flex;
  transition: transform 0.4s ease;
  width: max-content;
}

.slide-multi {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.slide-multi img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 993px) {
  .slide-multi {
    width: 300px;
  }
}

@media (max-width: 992px) {
  .slide-multi {
    width: 50vw; /* Na tablete dva obrázky */
  }
}

@media (max-width: 768px) {
  .slide-multi {
    width: 100vw; /* Na mobile jeden obrázok */
  }
}

/* Šípky */
.arrow-multi {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.arrow-multi.left {
  left: 10px;
}

.arrow-multi.right {
  right: 10px;
}

/* Bodky */
.dots-multi {
  text-align: center;
  margin-top: 10px;
}

.dot-multi {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.dot-multi.active {
  background-color: #717171;
}

/* --  Sections Box Slider END ------------------------- */

/*                          ---                          */
/* --  Sections Buttons Grid START --------------------- */
.section-buttons-grid {
  background-color: var(--primary);
  padding: var(--padding-inner) var(--padding-inner);
  border-radius: 4px;
}
.section-buttons-grid .buttons-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}
.section-buttons-grid .buttons-wrapper a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  background-color: var(--secondary);
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  text-align: center;
}
.section-buttons-grid .buttons-wrapper a:hover {
  background-color: var(--red);
}

.margin-top {
  margin-top: var(--padding-inner) !important;
  bottom: 1px solid red;
}
/* --  Sections Buttons Grid END ----------------------- */

/*                          ---                          */
/* --  Sections Odborna Literatura START --------------- */
.section-odborna-literatura {
  padding: var(--padding-inner) var(--padding-inner);
}
.section-odborna-literatura .inner-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: var(--padding-inner);
}
.section-odborna-literatura .odborna-literatura-item {
  width: 100%;
  height: 100%;
  padding: calc(var(--padding-inner) / 2);
  background-color: var(--primary);
  border-radius: 6px;
}
.section-odborna-literatura .odborna-literatura-item a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--padding-inner);
}
@media screen and (max-width: 809px) {
  .section-odborna-literatura .odborna-literatura-item a {
    flex-direction: column;
  }
}
.section-odborna-literatura .img-wrapper {
  position: relative;
  width: 100%;
}
.section-odborna-literatura .img-wrapper img {
  top: 0;
  left: 0;
  transition: opacity 0.5s ease-in-out;
  display: block;
}
.section-odborna-literatura .img-wrapper .img-front {
  position: relative;
  opacity: 1;
  z-index: 2;
}
.section-odborna-literatura .img-wrapper .img-back {
  position: absolute;
  opacity: 0;
  z-index: 1;
}
.section-odborna-literatura .odborna-literatura-item:hover .img-front {
  opacity: 0;
}
.section-odborna-literatura .odborna-literatura-item:hover .img-back {
  opacity: 1;
}
.section-odborna-literatura .text-wrapper {
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.section-odborna-literatura .text-wrapper h4 {
  color: var(--secondary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.section-odborna-literatura .text-wrapper p {
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.section-odborna-literatura .text-wrapper button {
  width: 100%;
  max-width: 300px;
  background-color: var(--secondary);
  color: var(--primary-light);
  text-transform: uppercase;
  border: 0;
  font-weight: 600;
}
.section-odborna-literatura .odborna-literatura-item:hover button {
  background-color: var(--black);
  color: var(--white);
}
.section-odborna-literatura .text-wrapper p:last-child {
  margin-bottom: 0;
}
/* --  Sections Odborna Literatura END ----------------- */

/*                          ---                          */
/* --  Sections Na co sluzi bedrovy pas START ---------- */
.section-otazky {
  width: 100%;
  height: 100%;
  padding: var(--padding-inner);
  background-color: var(--primary);
  border-radius: 6px;
  margin-bottom: var(--padding-inner);
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.section-otazky a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  background-color: #ff0000;
  color: #ffffff;
  padding: 25px;
}
.section-otazky a:hover {
  color: #ffffff;
  background-color: var(--secondary);
}

.section-otazky span {
  width: 100%;
  position: relative;
}
.section-otazky span::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  right: 0;
  bottom: -18px;
  margin: auto;
  background-color: white;
}
.section-otazky span:last-child::after {
  width: 0;
  height: 0;
  background-color: transparent;
}
/* --  Sections Na co sluzi bedrovy pas END ------------ */

/*                          ---                          */
/* --  Sections Zdravotne Pomocky START ---------------- */
.section-zdravotne-pomocky {
}
.section-zdravotne-pomocky .inner-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--padding-inner);
}
.zdravotne-pomocky-box {
  width: 100%;
  height: 100%;
  padding: var(--padding-inner);
  background-color: var(--primary);
  border-radius: 6px;
}
.zdravotne-pomocky-box a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.zdravotne-pomocky-box .top-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.zdravotne-pomocky-box .top-row h4 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary);
  transition:
    all 0.3s ease,
    color 0.3s ease;
}

.zdravotne-pomocky-box button {
  width: 100%;
  max-width: 300px;
  height: 40px;
  margin: 0 auto;
  padding: 0;
  background-color: var(--secondary);
  color: var(--primary-light);
  text-transform: uppercase;
  border: 0;
  font-weight: 600;
  transition:
    all 0.3s ease,
    color 0.3s ease;
}

.zdravotne-pomocky-box:hover h4 {
  color: var(--black);
}
.zdravotne-pomocky-box:hover button {
  background-color: var(--black);
  color: var(--white);
}

.section-zdravotne-pomocky-2 {
  background-color: var(--primary);
  padding: var(--padding-inner) var(--padding-inner);
  border-radius: 4px;
}
.section-zdravotne-pomocky-2 a {
  display: flex;
  font-size: 1.25rem;
  color: var(--white);
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 21px 20px 20px 20px;
  background-color: var(--secondary);
}
.section-zdravotne-pomocky-2 a:hover {
  color: var(--white);
  background-color: var(--red);
}
/* --  Sections Zdravotne Pomocky END ------------------ */

/*                          ---                          */
/* --  Footers START ----------------------------------- */
footer.f-default {
  width: 100%;
  background-color: rgb(22, 107, 135);
  padding: 0 var(--padding-body) 0 var(--padding-body);
}
.f-wrapper {
  width: 100%;
  max-width: var(--max-width);
  height: 100%;
  margin: auto;
}

/* -- Info & Nav row */
.f-info-nav-row {
  display: flex;
  padding-top: 50px;
  padding-bottom: 18px;
  color: var(--footer-text);
}
.f-info-nav-row a {
  color: var(--footer-text);
}
.f-info-nav-row a:hover {
  color: var(--white);
}
.f-info-nav-row span {
  width: 100%;
  display: flex;
  margin-bottom: 5px;
}
.f-info-nav-row span b {
  padding-right: 5px;
}

.f-row-adress {
  width: 300px;
  flex-shrink: 0;
}
.f-row-adress h4 {
  color: var(--white);
  margin-bottom: 11px;
}

.f-row-info {
  width: 400px;
  padding-top: 48px;
  flex-shrink: 0;
}

.f-row-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}
.f-row-nav .inner-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
}
.f-row-nav .inner-wrapper::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  left: -25px;
  top: 0;
  bottom: 0;
  margin: auto;
  border-radius: 2px;
  background-color: rgb(38, 133, 165);
}
.f-row-nav .inner-wrapper a {
  background-color: var(--secondary);
  margin-bottom: 10px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 4px;
}
.f-row-nav .inner-wrapper a:hover {
  background-color: #125e78;
}
.f-row-nav .inner-wrapper a:last-child {
  margin-bottom: 0;
}

/* -- Top row */
/* .f-row-top {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 33px 0 15px 0;
}
.f-row-top a {
  color: var(--footer-text);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 5px 15px;
  position: relative;
}
.f-row-top a.active {
  color: var(--white);
}
.f-row-top a::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  left: -13px;
  top: 0;
  bottom: 0;
  margin: auto;
  border-radius: 50%;
  background-color: rgb(38, 133, 165);
}
.f-row-top a:first-child:after {
  width: 0;
  height: 0;
  background-color: transparent;
}
.f-row-top a:hover {
  color: var(--white);
} */
.f-row-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 300px));
  justify-content: center;
  gap: 42px;
  padding-top: 20px;
}
.f-row-top > div {
  position: relative;
}
.f-row-top div span {
  width: 100%;
  display: block;
}
.f-row-top > div {
  text-align: center;
  color: var(--footer-text);
  padding: 0 20px;
}
.f-row-top > div:nth-child(2):before,
.f-row-top > div:nth-child(2):after {
  position: absolute;
  content: "";
  width: 2px;
  height: 100%;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: rgb(38, 133, 165);
}
.f-row-top > div:nth-child(2):before {
  left: -21px;
}
.f-row-top > div:nth-child(2):after {
  right: -21px;
}

/* -- Middle row */
.f-row-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-top: 14px;
}
.f-row-middle::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: -1;
  background-color: rgb(38, 133, 165);
}
.f-row-middle-soc {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 0 25px 0 0;
  background-color: rgb(22, 107, 135);
}
.f-row-middle-soc a {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.f-row-middle-soc span {
  display: none;
}
.f-row-middle-soc a svg {
  width: 100%;
  height: 100%;
  display: block;
}
.f-row-middle-soc a svg #footer-icon-facebook-bg {
  fill: var(--footer-text);
  opacity: 1;
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -ms-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}
.f-row-middle-soc a:hover svg #footer-icon-facebook-bg {
  fill: #3b5998;
  opacity: 1;
}
.f-row-middle-soc a svg #footer-icon-facebook {
  fill: var(--white);
  opacity: 0;
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -ms-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}
.f-row-middle-soc a:hover svg #footer-icon-facebook {
  opacity: 1;
}
.f-row-middle-soc a svg #footer-instagram-bg {
  fill: var(--font-gray-light);
  opacity: 1;
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -ms-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}
.f-row-middle-soc a svg #footer-instagram-bg-color,
.f-row-middle-soc a svg #footer-icon-instagram {
  fill: var(--white);
  opacity: 0;
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -ms-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}
.f-row-middle-soc a:hover svg #footer-instagram-bg {
  opacity: 0;
}
.f-row-middle-soc a:hover svg #footer-instagram-bg-color,
.f-row-middle-soc a:hover svg #footer-icon-instagram {
  opacity: 1;
}
.f-row-middle-autor {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 0 0 25px;
  background-color: rgb(22, 107, 135);
}
.f-row-middle-autor span {
  color: var(--footer-text);
  font-size: 0.8rem;
  font-weight: 600;
}
.f-row-middle-autor svg.jakubca-logo {
  width: auto;
  height: 37px;
  display: block;
}
.f-row-middle-autor svg .logo-bg,
.f-row-middle-autor svg .logo-aj {
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -ms-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}
.f-row-middle-autor svg .logo-bg {
  fill: var(--footer-text);
}
.f-row-middle-autor svg .logo-aj {
  fill: rgb(38, 133, 165);
}
.f-row-middle-autor a:hover svg .logo-bg {
  fill: rgb(14, 82, 104);
}
.f-row-middle-autor a:hover svg .logo-aj {
  fill: var(--white);
}

/* -- Bottom row */
.f-row-bottom {
  text-align: center;
  color: var(--footer-text);
  font-size: 0.8rem;
  font-weight: 400;
  padding: 15px 0 33px 0;
}
.f-row-bottom a {
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
}
.f-row-bottom a:hover {
  color: var(--footer-text);
}

@media screen and (max-width: 809px) {
  .f-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  .f-row-top {
    padding: var(--padding-body) 0 20px 0;
    flex-direction: column;
  }
  .f-row-top a {
    font-size: 1rem;
    padding: 25px 0;
    text-align: center;
    background-color: var(--bg-dark);
  }
  .f-row-top a:hover {
    color: var(--font-gray-light);
  }
  .f-row-top a::after {
    width: 0;
    height: 0;
    background-color: transparent;
  }
  .f-row-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .f-row-info {
    padding-top: 30px;
    padding-bottom: 15px;
  }

  .f-row-nav {
    justify-content: flex-start;
  }
  .f-row-nav .inner-wrapper::after {
    width: 0;
    height: 0;
    left: 0;
    border-radius: 0px;
    background-color: transparent;
  }
  .f-row-nav .inner-wrapper a {
    padding: 5px 0;
  }
  .f-row-nav .inner-wrapper a:hover {
    background-color: transparent;
  }
}
/* --  Footers END ------------------------------------- */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}
