/**
Theme Name: HandsOn
Author: MT Progress
Author URI: https://mtprogress.pl
Description: HandsOn
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: HandsOn
Template: astra
*/

body{
  margin: 0 auto;  
}

header .ast-primary-header-bar .site-primary-header-wrap {
  max-height: 70px;
}

.ast-mobile-header-wrap .ast-primary-header-bar, .ast-primary-header-bar .site-primary-header-wrap {
  max-height: 70px;
}


.szybki-kontakt {
    position: fixed;
    bottom: 40px;
    right: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 9999;
}

/* Klasa, którą doda JavaScript po przewinięciu */
.szybki-kontakt.visible {
    opacity: 1;
    visibility: visible;
}

.uagb-container-inner-blocks-wrap {
	margin-top:2em;
	margin-bottom:2em;
}

.dolna-linia {
  padding-bottom: 30px;
  position: relative;  
}


.dolna-linia::after {
  content: "";
  position: absolute;
 
  bottom: 0;        

  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #debb80, transparent);
}

.foto_team {
	text-align: center;
	margin-bottom: 20px;
}

.foto_team img {
	border-radius: 12px;
	max-width: 640px;
	width: 100%;
	height: auto;
}

.nazwa_team {
	text-align: center;
	font-size: 2rem;
	margin-bottom: 15px;
}

.opis_team {
	max-width: 700px;
	margin: 0 auto;
	font-size: 1.05rem;
	line-height: 1.7;
}



.team_buttons {
	display: flex;
	gap: 15px;
	justify-content: center;
	margin: 20px 0 30px;
	flex-wrap: wrap;
	
}

.team_archive_grid .ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
  text-decoration: none !important;
}

.btn_team {
	padding: 12px 22px;
	
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
	/*transition: transform .2s ease, opacity .2s ease;*/
	transform: scale(1);
	transition: transform 0.3s ease-in-out;
	width: 280px;
}

.btn_team:hover {
	/*transform: translateY(-2px);*/
	opacity: 0.9;
	transform: scale(1.1);
	color:#fff;
}

.btn_booksy {
	background-color: #a69076;
}

.btn_znany {
	background-color: #3e3b35d4;
}



/*Opis do single nasz zespół*/

.foto_team {
	text-align: center;
	margin-bottom: 20px;
}

.foto_team img {
	/*max-width: 320px;*/
	width: 100%;
	border-radius: 14px;
}


.nazwa_team {
	text-align: center;
	font-size: 2rem;
	margin-bottom: 12px;
}

.opis_team {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 25px;
	font-size: 1.05rem;
	line-height: 1.6;
}


.team_content {
  max-width: 700px;
  margin: 0 auto;
  line-height: 2;
  font-size: 17px;
}

/*//Koniec opisu*/

/*//Archive-nasz zespol*/

.team_archive_wrapper {
    width: 100%;
	
		transition: transform 0.3s ease-in-out;
transform: scale(1); 
}



.team_archive_wrapper .team_archive_item a {
	text-decoration: none;
  display: inline-block; 
	transition: transform 0.3s ease-in-out;
}

.team_archive_wrapper .team_archive_item a:hover {
  text-decoration: none;
  transform: scale(1.1);
 }


.team_archive_item {
    position: relative;
}


.team_archive_grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
}

.team_archive_item {
	text-align: center;
	padding: 20px 20px 0 20px;
	border-radius: 14px;
	/*background: #fff;*/
	box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.team_archive_item .foto_team img {
	border-radius: 12px;
	/*max-width: 220px;*/
	/*margin-bottom: 15px;*/
}

.team_archive_item .opis_team {
	font-size: 0.95rem;
	margin-bottom: 15px;
}

.team_buttons {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
	/*bottom:25px;*/
	text-align: center;	
}


.team_archive_item {
    display: flex;
	flex-direction: column;	
    
}


.team-single {
	display: flex;
    gap:60px;
    background: transparent;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
    
}



.buttons-position{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}




.funkcja_team {
    font-size: 1.5rem;
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    text-align: center;
}

.ast-blog-layout-4-grid .ast-article-post {
    width: 100%;
    margin-bottom: 0;
    border-bottom: 0;
    background-color: opacity;
}

/*//koniec*/

.ast-separate-container .ast-blog-layout-4-grid .ast-article-post {
  padding: 1em 1em 0;
}





/*cennik tabela*/


.cennik-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.cennik-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  background: transparent;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.1);    
}

.wp-block-table thead {
  border-bottom: 2px solid;
  font-size: 20px;
}

.cennik-table thead th {
  text-align: center;
  font-weight: 600;
  padding: 14px 16px;
  border-bottom: 2px solid #e5e7eb;
  color: #111827;
    	
}

.cennik-table tbody tr {
  transition: background 0.2s ease;
}

.cennik-table tbody tr:hover {
  background: rgba(224, 190, 133, 0.15);
}

.cennik-table td {
  padding: 14px 16px;
  vertical-align: middle;
}

.cennik-table td:last-child {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
  color: #3e3b35; 
}

.cennik-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid #f0f0f0;
}

.cennik-table .highlight {
  background: #f0fdfa;
}

@media (max-width: 600px) {
  .cennik-table td:last-child {
    text-align: left;
    margin-top: 4px;
    /*display: block;*/
  }
}

.cennik-table th:nth-child(1),
.cennik-table td:nth-child(1) {
    /*max-width: 30%;*/
    /*width: 100%;*/
    /*white-space: nowrap;*/
    text-align: center;
    border: none;
    border-bottom: 1px solid #f0f0f0;
}

.cennik-table th:nth-child(2),
.cennik-table td:nth-child(2) {
    max-width: 30%;
    /*width: 30%;*/
    /*white-space: nowrap;*/
    text-align: center;
    border-right: 1px solid #f0f0f0;
    border-top: none;
    border-bottom: 1px solid #f0f0f0;
    border-left: none;
}

/*cennik koniec*/


/*Nagłówek + sticky*/
#mysticky-nav.wrapfixed .myfixed {
  background-color: #ffffff;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  border-bottom: 1px #a69076 solid;
	padding-bottom: 10px;
}

.ast-site-identity {
    padding: 0.1em 0;
}

/*@media (min-width: 922px) {*/
@media (min-width: 1280px) {
    /*
				header .custom-logo-link img {
        max-width: 150px;
        width: 150px;
        position: absolute;
        margin-left: 3em;
        margin-top: -28px;
    }
				*/

    /*
				#mysticky-nav.wrapfixed .myfixed img {
        max-width: 80px;
        width: 80px;
        margin-top: -38px;

    }
				*/

    .mysticky-wrap {
        max-height: 90px;
        height: 90px;
    }

    .site-header-primary-section-right {
        max-height: 50px;
    }
    
        .wp-block-uagb-container.uagb-is-root-container .uagb-block-2af2b20b {
  max-width: 80%;
  width: 600px;
}
    
 


}

/*Koniec nagłówka*/

/*OFERTA*/


.oferta_item {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 50px;
  align-items: center;
  background: transparent;
  border-radius: 32px;
  padding: 40px;
  max-width: 1200px;
  margin: 60px auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

/* ZDJĘCIE */
.oferta_image {
  height: 100%;
    
      position: relative;
  overflow: hidden;
}

.oferta_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  min-height: 350px;    
}

/* TREŚĆ */
.oferta_overlay {
  margin-bottom: 20px;
}

.oferta_title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  color: #0f172a;
}

.oferta_content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
  max-width: 600px;
}

.oferta_content .wp-block-uagb-advanced-heading .uagb-heading-text {
  margin: 0 0 20px 0;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 900px) {
	
	header .custom-logo-link img {
        max-width: 70%;
        width: 70%;
        padding: 5px;
    }
	
  .oferta_item {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .oferta_image {
    height: 300px;
  }
   
       
.team-single {
    flex-direction: column;
   background: transparent;
    background-color: transparent;
    background-image: none;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}    
    
    .wp-block-uagb-container.uagb-is-root-container .uagb-block-2af2b20b {
  max-width: 80%;
  width: 600px;
}
}

    
}

.oferta_image {
  position: relative;
  overflow: hidden;
}

.oferta_image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.05) 90%
  );
  pointer-events: none;
    border-radius: 24px;
}

.oferta_overlay {
  position: absolute;
  left: 20px;
  bottom: 0;
  right: 20px;
  z-index: 2;
}

.oferta_title {
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
}

.oferta_title {
  text-shadow: 0 6px 20px rgba(0,0,0,0.45);
}


/*KONIEC OFERTA*/



.outline-text {
  font-size: 45px;
  font-weight: bold;
  color: transparent; 
  -webkit-text-stroke: 1px rgba(166, 144, 118, 0.50);
  text-align: right;
  margin: 0 54px 7px 0;    
}


/*
.outline-text:hover {
  color: rgba(166, 144, 118, 0.1);
  transition: 0.4s;
}
*/



header.entry-header .entry-title, .page-title {
  font-size: 45px;
  font-weight: bold;
  color: transparent;
  -webkit-text-stroke: 1px rgba(166, 144, 118, 0.50);
  text-align: right;
  margin: 0 54px 7px 0;
}  

.header.entry-header .entry-title, .page-title:hover {
  color: rgba(166, 144, 118, 0.1);
  transition: 0.4s;
}

.wp-block-uagb-container.belka-tytul {

    box-shadow: 0 0 32px 26px rgba(185, 171, 94, 0.1);
    padding: 0;
    border-bottom: 1px solid #debb80;
    
}

/*
.wp-block-uagb-container.uagb-block-0d272cfd {
 
  box-shadow: 0 0 32px 26px rgba(185, 171, 94, 0.1);
}
*/


.team-archive-header, .team-single-header {
	width: 104vw;
	/*margin-left: calc(-50vw + 50%);*/
	/*background: var(--twoj-kolor-lub-gradient);*/
	padding: 2em 0;
	position: relative;
	z-index: 10;
    box-shadow: 0 0 32px 26px rgba(185, 171, 94, 0.1);
    border-bottom: var(--ast-global-color-1) 1px solid;
}

.team-archive-header-inner, .team-single-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/*
.team-single-header {
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	padding: 60px 0;
	background: var(--twoj-kolor-lub-gradient);
	position: relative;
	z-index: 10;
}

.team-single-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
*/

.nav-button {
  transform: scale(1);
	transition: transform 0.3s ease-in-out;  
}

.nav-button:hover {
    
    transform: scale(1.1);
        
}

.btn_team {
	padding: 12px 22px;
	
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
	/*transition: transform .2s ease, opacity .2s ease;*/
	transform: scale(1);
	transition: transform 0.3s ease-in-out;
	width: 280px;
}

.btn_team:hover {
	/*transform: translateY(-2px);*/
	opacity: 0.9;
	transform: scale(1.1);
	color:#fff;
}


.uagb-button__wrapper {
  	transform: scale(1);
	transition: transform 0.3s ease-in-out;  
}

.uagb-button__wrapper:hover {
    	opacity: 0.9;
	transform: scale(1.1);
}


.eb-button-anchor {
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  
  transform: scale(1);
  transition: transform 0.3s ease-in-out;
  
}

.eb-button-anchor:hover {
	
	opacity: 0.9;
	transform: scale(1.1);
	color:#fff;
}

/*
.site-above-footer-wrap {
    padding-bottom: 1px;
    padding-top: 1px;
    height: 150px !important;
}
*/

.site-primary-footer-wrap {
        padding-top: 0;
    padding-bottom: 0;    
}

.site-primary-footer-inner-wrap {
    height: 300px;

}



.ast-mobile-header-wrap .ast-primary-header-bar, .ast-primary-header-bar .site-primary-header-wrap {
  min-height: 0 !important;
}

@media (max-width: 544px) {
  .site-primary-footer-wrap[data-section="section-primary-footer-builder"].ast-footer-row-mobile-stack .site-footer-section {
    display: block;
    margin-bottom: 10px;
    margin-top: 20px;
  }
}

