/*
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Kadence Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Tags: translation-ready,two-columns,right-sidebar,left-sidebar,footer-widgets,blog,custom-logo,custom-background,custom-menu,rtl-language-support,editor-style,threaded-comments,custom-colors,featured-images,wide-blocks,full-width-template,theme-options,e-commerce
Version: 1.2.24.1749146473
Updated: 2025-06-05 20:01:13

*/ 

body.page-id-535 {
	background-color: #121212;
	color: #FAFAFA
}

.wp-block-post-excerpt__excerpt {
	display: none;
}

article#post-535 {
	background-color: #121212;
	color: #FAFAFA 
}

.db-em em {
  background: linear-gradient(90deg, #7a5dff 0%, #b86cff 48%, #e07ed7 100%);
  padding: 6px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-drone > img {
  	position: absolute;
  	z-index: -1;
	max-width: 100%;
    border: 0 solid currentColor;
    box-sizing: border-box;
    min-width: 750px;
    left: -30px;
    top: -50px;
}

.db-hp-step-dot {
	display: none !important;
}

.hp-sp-slider > figure {
	display: flex;
	flex-direction: column;
}

.hp-sp-slider .splide__arrows {
	position: relative;
	order: 3;
	display: flex;
	flex-direction: row;
	justify-content: end;
	gap: 24px;
}

.wp-block-splide-carousel .splide__arrow {
	top: unset;
    transform: unset;
	left: unset !important;
	right: unset !important;
	background: black;
	opacity: unset;
}

.wp-block-splide-carousel .splide__arrow:hover:not(:disabled) {
	opacity: 0.7;
}

.wp-block-splide-carousel .splide__arrow svg {
	fill: white;
}

.hp-sp-slider .splide__arrows button {
	position: relative;	
}

.hp-sp-slider .splide__pagination {
	order: 2;
	position: relative;
}

.db-hm-two-columns-services > div {
	display: block !important;
}

@media (min-width: 768px){
	
	.db-hp-step-dot {
		display: flex !important;
		position: relative;
	}

	.db-hp-step-dot > .wp-block-kadence-single-icon::before {
		content: '';
		position: absolute;
		height: 5px;
		left: 50%;
		right: -50px;
		top: 50%;
		transform: translatey(-50%);
		background: #d6dee7;
		z-index: -1;
	}

	.db-hp-step-dot > .db-hp-step-dot-icon-02::before,
	.db-hp-step-dot > .db-hp-step-dot-icon-03::before {
		left: 0;
		right: -50px;
	}

	.db-hp-step-dot > .db-hp-step-dot-icon-04::before {
		left: -50px;
		right: 50%;
	}
	
	.hero-drone > img {
		left: 50%;
		transform: translateX(-50%);
		  min-width: 900px;
		  top: -163px;
	  }
	
	.db-hm-services-columns > div {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (min-width:962px){
  	.db-hm-two-columns-services > div {
		display: grid !important;
	}
	
	.db-hm-services-columns > div {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
	

}

	/* 	Galeria grid Portfolio - SG */
	/* ================================================
   DB PORTFOLIO – BENTO GRID
   ================================================ */

/* Grid container */
.db-portfolio .kt-inside-inner-col {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 230px 230px 215px 215px;
  gap: 12px;
  grid-template-areas:
    "a a b b c c"
    "a a d d c c"
    "e e e g g g"
    "f f f g g g";
}

/* Przypisanie elementów do obszarów */
.db-portfolio .kt-inside-inner-col > *:nth-child(1) { grid-area: a; }
.db-portfolio .kt-inside-inner-col > *:nth-child(2) { grid-area: b; }
.db-portfolio .kt-inside-inner-col > *:nth-child(3) { grid-area: d; }
.db-portfolio .kt-inside-inner-col > *:nth-child(4) { grid-area: c; }
.db-portfolio .kt-inside-inner-col > *:nth-child(5) { grid-area: e; }
.db-portfolio .kt-inside-inner-col > *:nth-child(6) { grid-area: f; }
.db-portfolio .kt-inside-inner-col > *:nth-child(7) { grid-area: g; }

/* Kształt karty */
.db-portfolio .wp-block-kadence-imageoverlay {
  border-radius: 20px;
  overflow: hidden;
  margin: 0 !important;
  width: 100% !important;
}

/* Nadpisanie Kadence intrinsic sizing – wypełnienie komórki siatki */
.db-portfolio .kt-image-overlay-wrap {
  height: 100% !important;
  max-width: 100% !important;
}

.db-portfolio .kt-image-overlay-wrap .kt-block-intrisic {
  height: 100% !important;
  padding-bottom: 0 !important;
  position: relative;
}

/* Obraz wypełnia kartę */
.db-portfolio .kt-img-overlay {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

/* Link-overlay wypełnia kartę */
.db-portfolio .kt-imageoverlay-link {
  position: absolute !important;
  inset: 0;
  display: block;
}

/* ------------------------------------------------
   Tekst – zawsze widoczny, lewy dolny róg
   ------------------------------------------------ */
.db-portfolio .kt-image-overlay-message {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  transform: none !important;
  opacity: 1 !important;
  display: flex !important;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 64px 20px 20px !important;
  border: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.50) 0%,
    rgba(0, 0, 0, 0.10) 60%,
    transparent 100%
  ) !important;
}

.db-portfolio .kt-image-overlay-inner {
  text-align: left;
  display: flex;
  flex-direction: column;
}

/* Kategoria (mały napis – subtitle) */
.db-portfolio .image-overlay-subtitle {
  order: -1;
  color: rgba(255, 255, 255, 0.80) !important;
  font-size: 0.60rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin: 0 0 5px !important;
  line-height: 1;
  background: transparent !important;
}

/* Tytuł projektu */
.db-portfolio .image-overlay-title {
  color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  line-height: 1.2;
  background: transparent !important;
}

/* ================================================
   MOBILE – wszystko w wierszach
   ================================================ */
@media (max-width: 768px) {
  .db-portfolio .kt-inside-inner-col {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    grid-template-areas: none;
  }

  .db-portfolio .kt-inside-inner-col > * {
    grid-area: auto !important;
    height: 240px;
    width: 100%;
  }
}
