/*
Theme Name: Hello Elementor Child
Template: hello-elementor
--e-global-color-primary: #660627;
--e-global-color-secondary: #FFBEC6;
--e-global-color-text: #191A1F;
--e-global-color-accent: #5C5F71;
--e-global-color-53de947: #F7F7F7;
--e-global-color-3e964ac: #FFFFFF;
*/
@import url("../hello-elementor/style.css");

img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

.comments-area a, .page-content a {
  text-decoration: none!important;
}

.wp-theme-hello-elementor .page-header{
  background-color: var(--e-global-color-53de947, #F7F7F7);
  padding-top: 2rem;
  padding-bottom: 4rem;
}

@media (max-width: 580px) {
  .wp-theme-hello-elementor .page-header {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }
}

.wp-theme-hello-elementor .page-header h1{
  font-size: 2rem;
  margin: 0 auto;
  text-align: center;
}

/* HEADER */
#gm-header{
  width: 100%;
  padding: 30px;
  margin: 0;
  background-color: var(--e-global-color-53de947, #F7F7F7);
}
.gm-header-wrap{
  display: flex;
  align-items: center;
  column-gap: 4rem;
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
  padding: 1.5rem 2rem 1.5rem 3rem;
  background-color: var(--e-global-color-3e964ac, #FFFFFF);
  border-radius: 1rem;
}
.header-right{
  flex: 1 1 auto;
}
.gm-header-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #F3F3F3;
}
.gm-header-icons{
  display: flex;
  align-items: center;
  column-gap: 3rem;
}
.gm-header-icons .gm-hi-ico{
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  color: var(--e-global-color-accent, #5C5F71);
  font-size: 0.875rem;
}
.gm-header-icons .gm-hi-ico a{
  color: var(--e-global-color-accent, #5C5F71);
}
.gm-header-icons .gm-hi-ico a:hover{
  color: var(--e-global-color-text, #191A1F);
}
.gm-header-icons .gm-hi-ico svg{
  width: 24px;
  height: 24px;
}
.gm-header--btn a{
  text-transform: uppercase;
}

@media (max-width: 1399px){
  #gm-header{
    padding: 15px;
  }
  .gm-header-wrap{
    padding: 1.5rem;
    column-gap: 2rem;
  }
  .header-logo{
    flex: 0 0 180px;
  }
  .gm-header-icons{
    column-gap: 1rem;
  }
}
@media (max-width: 1199px){
  .gm-header-wrap {
    padding: 1rem;
    column-gap: 1rem;
  }  
  .header-logo{
    flex: 0 0 120px;
  }  
  .gm-header-icons .gm-hi-mail{
    display: none;
  }
}
@media (max-width: 991px){
  .header-logo{
    flex: 0 0 260px;
    display: flex;
  }  
  .gm-header-top{
    margin: 0;
    padding: 0;
    border: none;
  }
  .gm-header-icons .gm-hi-phone{
    display: none;
  }
}
@media (max-width: 800px){
  .header-right{
    display: flex;
    justify-content: flex-end;
  }
  .gm-header-icons{
    display: none;
  }
}
@media (max-width: 580px){
  .header-right{
    display: none;
  }
  .header-logo{
    flex: 0 0 100%;
    width: 100%;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding-left: 15px;

  }
  .header-logo .site-logo{
    width: 150px;
  }
}

/* MENU */
#gm-header .site-navigation ul.menu{
  width: 100%;
  justify-content: space-between;
}
#gm-header .site-navigation ul.menu li a{
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0;
  color: var(--e-global-color-text, #191A1F);
}
#gm-header .site-navigation ul.menu li.current_page_item a,
#gm-header .site-navigation ul.menu li a:hover{
  color: var(--e-global-color-primary, #660627);
}

#gm-header .site-navigation-dropdown ul.menu li a{
  font-weight: 700;
  text-transform: uppercase;
  color: var(--e-global-color-text, #191A1F);
  padding-top: 12px;
  padding-bottom: 12px;
}
#gm-header .site-navigation-dropdown ul.menu li.current-menu-item a{
  background: var(--e-global-color-primary, #660627)!important;
  color: #fff;
}

@media (max-width: 1199px){
  #gm-header .site-navigation ul.menu li a{
    font-size: 0.875rem;
  }
}
#gm-header .site-navigation-toggle-holder .site-navigation-toggle{
  background-color: #fff;
  color: var(--e-global-color-text, #191A1F);
}
#gm-header .site-navigation-toggle-holder .site-navigation-toggle-icon{
  width: 1.5rem;
}


/* FOOTER */
#gm-footer{
  text-align: center;
  padding: 0;
  width: 100%;
  margin: 0;
}
.gm-footer-shadow {
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
}
.gm-footer-top,.gm-footer-bottom{
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
}
.gm-footer-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-top: 30px;
  padding-bottom: 30px;
}
.gm-ft-item,
.gm-fb-item {
  padding: 28px;
}
.gm-ft-title {
  font-weight: 700;
  font-size: 1.5rem;
}
#ec_form_14-6094cedc595ae47c2d7e76e9362bf8d4 .ec-v-form-holder{
  width: 100%!important;
}
#ec_form_14-6094cedc595ae47c2d7e76e9362bf8d4 .ec-v-form-holder > form{
  min-height: unset!important;
}
#ec_form_14-6094cedc595ae47c2d7e76e9362bf8d4 .ec-v-form-holder > form .ec-v-form-step{
  height: unset!important;
}
#ec_form_14-6094cedc595ae47c2d7e76e9362bf8d4 .ec-v-form-holder .ec-v-form-input,
#ec_form_14-6094cedc595ae47c2d7e76e9362bf8d4 .ec-v-form-holder .ec-v-form-submit{
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.gm-ft-item svg {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
}

.gm-ft-link p.gm-ft-txt {
  line-height: 1.2;
  font-size: 0.875rem;
  color: var(--e-global-color-accent, #5C5F71);
}
.gm-ft-link p{
  margin-bottom: 2rem;
}
#gm-footer .gm-ft-link .elementor-button{
  padding: 0.25rem 4rem;
  border-radius: 5px;
}

.gm-footer-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 20px;
  margin-top: 40px;
  font-size: 1.125rem;
  line-height: 2;
}

.gm-footer-bottom svg{
  width: 30px;
  height: 30px;
}

#gm-footer .gm-footer-bottom a {
  text-decoration: none;
  color: var(--e-global-color-text, #191A1F);
}

#gm-footer .gm-footer-bottom a:hover {
  color: var(--e-global-color-primary, #660627);
}

.gm-footer-social {
  display: flex;
  justify-content: center;
  gap: 46px;
  margin-bottom: 24px;
}

.gm-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gm-footer-links{
  margin-bottom: 24px;
  font-size: 0.875rem;
}
#gm-footer .gm-footer-links a{
  color: var(--e-global-color-accent, #5C5F71);
}
#gm-footer .gm-footer-links a:hover{
  color: var(--e-global-color-text, #191A1F);
}

.gm-footer-copy {
  text-align: center;
  font-size: 0.75rem;
  color: #B8BAC5;
  margin-bottom: 40px;
}

#gm-footer .gm-footer-copy p,#gm-footer .gm-footer-copy p a {
  margin: 0;
  color: #B8BAC5;
}
#gm-footer .gm-footer-copy p a:hover{
  color: var(--e-global-color-text, #191A1F);
}

@media (max-width: 900px) {
  .gm-footer-top,
  .gm-footer-bottom {
    grid-template-columns: 1fr;
  }
}

/* LISTA PORAD */

body.blog main#content > .page-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 28px;
}

body.blog .page-content > .post {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0 0 28px;
  overflow: hidden;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

body.blog .page-content > .post > a {
  order: 1;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

body.blog .page-content > .post > a img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 0.35s ease;
}

body.blog .page-content > .post > a:hover img {
  transform: scale(1.04);
}

body.blog .page-content > .post > .entry-title {
  order: 2;
  margin: 24px 24px 12px;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.35;
  font-weight: 700;
}

body.blog .page-content > .post > .entry-title a {
  color: inherit;
  text-decoration: none;
}

body.blog .page-content > .post > .entry-title a:hover {
  color: var(--e-global-color-primary);
}

body.blog .page-content > .post > p {
  order: 3;
  margin: 0;
  padding: 0 24px;
  line-height: 1.65;
  font-size: 1rem;
}

@media (max-width: 1024px) {
  body.blog main#content > .page-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {

  body.blog main#content > .page-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body.blog .page-content > .post > .entry-title {
    margin: 20px 20px 10px;
  }

  body.blog .page-content > .post > p {
    padding: 0 20px;
  }
}

/* PAGINACJA NA LISCIE */
body.blog main#content > .pagination {
  width: 100%;
  max-width: 1540px;
  margin: 48px auto;
  padding: 0 20px;
  justify-content: center;
}

body.blog .pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

body.blog .pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #e3e3e3;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

body.blog .pagination .page-numbers.current {
  color: #fff;
  background: var(--e-global-color-primary);
  border-color: var(--e-global-color-primary);
}

body.blog .pagination a.page-numbers:hover {
  background: var(--e-global-color-secondary, #f7f7f7);
}

body.blog .pagination .dots {
  border-color: transparent;
}

@media (max-width: 600px) {
  body.blog .pagination .prev,
  body.blog .pagination .next {
    width: 100%;
  }
}

/* Wpisy blogowe */
body.single-post main#content,
body.blog main#content {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
body.single-post main#content > .page-content,
body.blog main#content > .page-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}
@media (max-width: 580px) {
  body.single-post main#content > .page-content,
  body.blog main#content > .page-content {
    padding: 30px 15px;
  }
}

/* WPISY na głównej, oferta i problemy */
.offers-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 60px;
}
.offers-list .offers-list__item {
  padding: 24px;
  border-radius: 1rem;
  text-align: center;
}
.offers-list .offers-list__title {
  margin: 0 0 12px;
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 700;
  font-family: "Titillium Web", Sans-serif;
}
.offers-list .offers-list__title a {
  color: var(--e-global-color-text, #191A1F);
  text-decoration: none;
}
.offers-list .offers-list__title a:hover{
    color: var(--e-global-color-primary, #660627);
}

.offers-list .offers-list__excerpt {
  margin: 0 0 16px;
  color: var(--e-global-color-accent, #5C5F71);
  line-height: 1.2;
  font-size: 0.875rem;
}

.offers-list__link {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
}

.offers-list__link:hover {
  opacity: 0.85;
}

@media (max-width: 1024px) {
  .offers-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .offers-list {
    grid-template-columns: 1fr;
  }
}
.gmoffers .offers-list__item:nth-child(odd){
    background-color: var(--e-global-color-secondary, #FFBEC6);
}
.gmproblems .offers-list__item{
    border: 1px solid  var(--e-global-color-primary, #660627);
}

/* OSTATNIE POSTY NA GŁÓWNEJ */

.latest-posts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.latest-post {
  height: 100%;
  text-align: center;
}

.latest-post__thumb {
  margin-bottom: 12px;
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-radius: 1rem;
}

.latest-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;

}

.latest-post:hover .latest-post__thumb img {
  transform: scale(1.05);
}

.latest-post__title {
  margin: 20px 0;
  font-size: 1.125rem;
  font-weight: 700;
  padding-left: 30px;
  padding-right: 30px;
}

.latest-posts .latest-post__title a {
  color: var(--e-global-color-text, #191A1F);
  text-decoration: none;
}

.latest-posts .latest-post__title a:hover{
  color: var(--e-global-color-primary, #660627);
}
.latest-post__excerpt {
  margin-bottom: 20px;
  font-size: 0.875rem;
  line-height: 1.4;
  padding-left: 30px;
  padding-right: 30px;
  color: var(--e-global-color-accent, #5C5F71);
}

.latest-post__link {
  font-weight: 700;
  text-decoration: none;
}

.latest-posts__all {
  margin-top: 60px;
  text-align: center;
}

.latest-posts__all a {
  font-weight: 700;
  text-decoration: none;
}

/* responsive */
@media (max-width: 1024px) {
  .latest-posts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .latest-posts {
    grid-template-columns: 1fr;
  }
  .latest-post__thumb{
    width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Tekst seo na głównej */
#gmmaintxt h1,#gmmaintxt h2,#gmmaintxt h3,#gmmaintxt h4,#gmmaintxt h5,#gmmaintxt h6{
    font-size: 1rem;
}

/* Strona Oferta i Twoje problemy */

.cpt-archive__container {
  max-width: 1540px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.cpt-archive__list-section {
  padding: 56px 20px 80px;
}
.cpt-archive__container .cpt-list{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.cpt-archive__container .cpt-list__item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  grid-template-areas:
    "image title action"
    "image description action";
  column-gap: 32px;
  row-gap: 8px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--e-global-color-53de947, #f7f7f7);
}
.cpt-archive__container .cpt-list__image {
  grid-area: image;
  width: 180px;
  height: 120px;
  overflow: hidden;
  border-radius: 1rem;
}

.cpt-archive__container .cpt-list__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cpt-archive__container .cpt-list__title {
  grid-area: title;
  align-self: end;
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.4;
  font-weight: 700;
}

.cpt-archive__container .cpt-list__title a {
  text-decoration: none;
}

.cpt-archive__container .cpt-list__description {
  grid-area: description;
  align-self: start;
  margin: 0;
  max-width: 1200px;
  line-height: 1.6;
  font-size: 1.2rem;
}

.cpt-archive__container .cpt-list__action {
  grid-area: action;
}

.cpt-archive__container .cpt-list__action a {
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 700;
}

.cpt-archive__container .cpt-list__action a:hover,
.cpt-archive__container .cpt-list__title a:hover {
  opacity: 0.8;
}

@media (max-width: 767px) {
  .cpt-archive__list-section {
    padding: 40px 20px 60px;
  }

  .cpt-archive__container .cpt-list__item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "image"
      "description"
      "action";
    gap: 16px;
    padding: 24px 0;
    align-items: stretch;
  }

  .cpt-archive__container .cpt-list__title {
    align-self: auto;
    margin: 0;
  }

  .cpt-archive__container .cpt-list__image {
    width: 100%;
    max-width: 280px;
    height: 200px;
    margin: 0 auto;
  }

  .cpt-archive__container .cpt-list__description {
    align-self: auto;
  }

  .cpt-archive__container .cpt-list__action a {
    white-space: normal;
  }
}
@media (max-width: 580px) {
  .cpt-archive__list-section {
    padding: 0 20px 60px;
  }
}
.gm-page .page-content{
  margin-top: 60px;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.gm-page .gm-page-back{
  background-color: var(--e-global-color-53de947, #F7F7F7);
  padding: 3rem 1rem;
  margin-top: 3rem;
}
.gm-page .gm-page-back a{
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  column-gap: 1rem;
  line-height: 1;
  white-space: nowrap;
}
.gm-page .gm-page-back a svg{
  width: 24px;
  height: 24px;
}
.gm-page .gm-page-back a svg path{
  fill: var(--e-global-color-primary, #660627);
}
.gm-page .gm-page-back a:hover svg path{
  fill: var(--e-global-color-text, #191A1F);
}

.gm-reservation-box {
  margin: 60px auto 60px;
  padding: 32px;
  border-radius: 1rem;
  background: var(--e-global-color-53de947, #F7F7F7);
  width: 100%;
  max-width: 1200px;
}
.gm-reservation-box .gmrb-title{
  padding-bottom: 2rem;
  text-align: center;  
}
.gm-reservation-box .gmrb-title .h2{
  font-size: 2rem;
  font-family: "Titillium Web", Sans-serif;
  font-weight: 700;
}
.gm-reservation-box .gmrb_inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.gm-reservation-box .gmrb_inner .gmbri_item{
  flex: 0 0 50%;
  padding-left: 1rem;
  padding-right: 1rem;
}
.gm-reservation-box .gmrb_inner .gmbri_phone{
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
  align-items: center;
}
.gm-reservation-box .gmrb_inner .gmbri_phone svg{
  width: 32px;
  height: 32px;
}
.gm-reservation-box .gmrb_inner .gmbri_phone a{
  font-size: 1.25rem;
  font-weight: 700;
}

@media (max-width: 767px) {
  .gm-reservation-box .gmrb_inner{
    flex-direction: column;
    row-gap: 1rem;
  }
  .gm-reservation-box .gmrb_inner .gmbri_item{
    flex: 0 0 100%;
  }
  .gm-reservation-box .gmrb_inner .gmbri_link{
    margin-top: 3rem;
  }
  .cpt-archive__container .cpt-list__description {
    font-size: 1rem;
    line-height: 1.4;
  }
}

.problem-related-offers{margin-top: 3rem;}
.problem-related-offers .gm-related-titile{
  margin: 60px auto 20px;
  padding: 32px;
  border-radius: 1rem;
  background: var(--e-global-color-53de947, #F7F7F7);
  width: 100%;
  max-width: 1200px;
  text-align: center;
  font-size: 2rem;
  font-family: "Titillium Web", Sans-serif;
  font-weight: 700;
}

/* FILTRY OFERTY */
.offers-filter {
  margin: 1rem 0;
  padding-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
@media (max-width: 580px) {
  .offers-filter {
    border-bottom: 1px solid var(--e-global-color-primary, #660627);
  }
}
.offers-filter a {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--e-global-color-primary, #660627);
  text-decoration: none!important;
  color: var(--e-global-color-primary, #660627)!important;
}

.offers-filter a.active,
.offers-filter a:hover {
  background: var(--e-global-color-primary, #660627)!important;
  color: #fff!important;
}

/* EFEKTY KURACJI */

.page-id-1356 .elementor-widget-image {
  height: 320px;
  overflow: hidden;
  border-radius: 1rem;
}

.page-id-1356 .elementor-widget-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 767px) {
  .page-id-1356 .elementor-widget-image {
    height: 240px;
  }
}

#scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: var(--e-global-color-primary, #660627);
    color: #fff;

    text-decoration: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition: .25s;

    z-index: 999;
}

#scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-top:hover {
    transform: translateY(-3px);
}

@media (max-width:580px) {

    #scroll-top {
        width: 46px;
        height: 46px;
        right: 16px;
        bottom: 60px;
    }

}
.gm-mobile-bar {
    display: none;
}

@media (max-width:580px) {

    body {
        padding-bottom: 72px;
    }

    .gm-mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        background-color: #fff5f1;
        border-top: 1px solid #e5e5e5;
        box-shadow: 0 -4px 20px rgba(0,0,0,.08);
        z-index: 9999;
    }

    .gm-mobile-bar a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 48px;
        text-decoration: none;
        color: var(--e-global-color-primary);
        font-size: .75rem;
        font-weight: 700;
    }

    .gm-mobile-bar a:not(:last-child) {
        border-right: 1px solid #ececec;
    }

    .gm-mobile-bar a:active {
        background: #fff;
    }

}