.elementor-kit-6{--e-global-color-primary:#000000;--e-global-color-secondary:#F2CA8A;--e-global-color-text:#EFD8AC;--e-global-color-accent:#FFFFFF;--e-global-color-af14772:#5C5C5C;--e-global-typography-primary-font-family:"Fahkwang";--e-global-typography-primary-font-size:30px;--e-global-typography-primary-font-weight:400;--e-global-typography-secondary-font-family:"Fahkwang";--e-global-typography-secondary-font-size:23px;--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Montserrat";--e-global-typography-text-font-size:16px;--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Fahkwang";--e-global-typography-accent-font-size:37px;--e-global-typography-accent-font-weight:500;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Wszystkie karty w jednym rzędzie mają tę samą wysokość */
.experts-row {
  align-items: stretch;
}

.experts-row > .expert-card {
  align-self: stretch;
}

/* Ustawienia pojedynczej karty */
.expert-card {
  --photo-height: 344px;
  --name-height: 76px;
  --bio-height: 190px;

  display: grid !important;
  grid-template-rows:
    var(--photo-height)
    var(--name-height)
    var(--bio-height)
    auto;

  gap: 12px;
  align-content: start;
  height: 100%;
}

/* Usunięcie przypadkowych różnic w odstępach widżetów */
.expert-card .expert-photo,
.expert-card .expert-name,
.expert-card .expert-bio,
.expert-card .expert-more {
  min-width: 0;
  margin: 0 !important;
}

/* Zdjęcia: jeden wymiar i jedno położenie */
.expert-card .expert-photo {
  grid-row: 1;
  height: var(--photo-height);
  overflow: hidden;
}

.expert-card .expert-photo .elementor-widget-container {
  height: 100%;
}

.expert-card .expert-photo img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
}

/* Nazwiska zawsze zaczynają się na jednej wysokości */
.expert-card .expert-name {
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.expert-card .expert-name .elementor-widget-container {
  width: 100%;
}

.expert-card .expert-name .elementor-heading-title {
  margin: 0;
}

/* Opisy zawsze zaczynają się i kończą na tej samej wysokości */
.expert-card .expert-bio {
  grid-row: 3;
  overflow: hidden;
  text-align: center;
}

.expert-card .expert-bio .elementor-widget-container {
  height: 100%;
  overflow: hidden;
}

.expert-card .expert-bio p {
  margin: 0;
}

/* „Czytaj więcej” zawsze w jednej linii */
.expert-card .expert-more {
  grid-row: 4;
  width: 100%;
  align-self: start;
  text-align: center;
}

.expert-card .expert-more .elementor-button-wrapper {
  text-align: center;
}

/* Na telefonie nie potrzebujemy sztywnych wysokości */
@media (max-width: 767px) {
  .expert-card {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    height: auto;
  }

  .expert-card .expert-photo,
  .expert-card .expert-photo .elementor-widget-container {
    height: auto;
  }

  .expert-card .expert-photo img {
    height: auto !important;
  }

  .expert-card .expert-bio,
  .expert-card .expert-bio .elementor-widget-container {
    height: auto;
    overflow: visible;
  }
}/* End custom CSS */