/* 
 Theme Name:   Business Blooming Space
 Theme URI:    
 Description:  
 Author:       OlaS
 Author URI:   https://olasieminska.pl
 Template:     Divi
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/


/* Selection styling for highlighted text */
::selection {
    background: var(--gcid-heading-color);
    color: #fff;
}
:is(h1,h2,h3,h4,h5,h6)::selection {
    background: var(--gcid-ybankspvd0);
    color: var(--gcid-heading-color);
}
a::selection {
    background: var(--gcid-primary-color);
    color: #fff;
}

/* Style links */
.dsa-text a {
    transition: all .2s linear;
    text-underline-offset:.15em!important;
    text-decoration-thickness:.2em!important;
    text-decoration-skip-ink: none;
}
.dsa-text a:hover {
    text-underline-offset:0!important;
}
/*styl linków dla modułu link*/
.dsa-link .et_pb_link_text  {
    text-decoration: underline;
    text-underline-offset: .15em;
    text-decoration-thickness: .15em;
    text-decoration-skip-ink: none;
    transition: all .2s linear;
}

.dsa-link:hover .et_pb_link_text {
    text-underline-offset: 0;
}

/* Scrollbar całej strony */
::-webkit-scrollbar {
    width: 8px;
}

/* Tło */
::-webkit-scrollbar-track {
    background: #f8f4ef;
}

/* Pasek */
::-webkit-scrollbar-thumb {
    background: #914966;
    border-radius: 20px;
}

/* Po najechaniu */
::-webkit-scrollbar-thumb:hover {
    background: #f36f45;
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #914966 #f8f4ef;
}


/*styl linków dla modułu pagination*/

.portfolio-pagination a,
.portfolio-pagination a span {
    text-decoration-line: underline !important;
    text-decoration-thickness: .15em !important;
    text-underline-offset: .15em !important;
    text-decoration-skip-ink: none;
    transition: text-underline-offset .2s linear;
}

.portfolio-pagination a:hover,
.portfolio-pagination a:hover span {
    text-underline-offset: 0 !important;
}
/* Fix bottom spacing on elements */
.dsa-text p:last-of-type {
    padding-bottom:1em;
}
.dsa-text :is(p,ul,ol,blockquote):last-child {
    padding-bottom:0;
}
/* Add space before headings */
.dsa-text :is(p,ul,ol,blockquote) ~ :is(h1,h2,h3,h4,h5,h6) {
    padding-top:.75em;
}

/* Style quotes */
.dsa-text blockquote {
    padding-left: 0;
}

/* Custom list markers */
.dsa-text li::marker {
    color: var(--gcid-primary-color);
    font-weight: 900;
}
/* Krtaka w tle w sekcjach */
.kratkabg,
.kratkabg-only {
    background-color: #f8fafc;
    position: relative;
}

.kratkabg::before,
.kratkabg-only::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(to right, #e2e8f0 1px, transparent 1px),
        linear-gradient(to bottom, #e2e8f0 1px, transparent 1px);
    background-size: 40px 50px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 0% 0%, transparent 60%, #000 100%);
    mask-image: radial-gradient(ellipse 70% 60% at 0% 0%, transparent 60%, #000 100%);
    pointer-events: none;
}

.kratkabg > .et_pb_row,
.kratkabg-only > .et_pb_row {
    position: relative;
    z-index: 1;
}

/* Tylko wersja z poduszeczkami */
.kratkabg::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80px;
    background: url("/wp-content/uploads/2026/07/poduszeczki-decor.svg")
                no-repeat center bottom;
    background-size: 100% auto;
    z-index: 2;
    pointer-events: none;
}
/* Pełna kratka bez zanikania */
.kratkabg-full {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.kratkabg-full::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(to right, #e2e8f0 1px, transparent 1px),
        linear-gradient(to bottom, #e2e8f0 1px, transparent 1px);
    background-size: 40px 50px;
    pointer-events: none;
}

.kratkabg-full > .et_pb_row {
    position: relative;
    z-index: 1;
}
/*kręcenie się ikonkek*/
.dsa-rotate .et_pb_image_wrap {
    display: inline-block;
    animation: questionRotate 6s linear infinite;
}

@keyframes questionRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/*Hover na menu poza stroną główną*/

/* Change these values to edit line appearance and position */

:root {
  --BottomOffset: 0px;
  --LineHeight: 3px;
  --LineColor: #ff8052;
}

.dl-menu-style4 ul.et-menu>li>a {
	position: relative;
	z-index: 1;
}
.dl-menu-style4 ul.et-menu>li>a:before {
    position: absolute;
    content: '';
    display: block;
    z-index: -1;
    background: var(--LineColor);
    opacity:0;
    height: var(--LineHeight);
    bottom: calc(var(--BottomOffset) + 12px);
    width: calc(100% + (var(--LineHeight) / 2));
    right: calc(var(--LineHeight) / -4);
    transition: 0.4s cubic-bezier(0,.54,.52,.76);
    border-radius: 2px;
}

.dl-menu-style4 ul.et-menu>li>a:hover:before {
    bottom: var(--BottomOffset);
    opacity: 1;
}
/*ikonka w module toggle*/

/* Ukryj domyślną ikonę Divi */
.et_pb_toggle_title:before {
    content: "" !important;
    background: none !important;
}

/* Dodaj własną ikonę */
.et_pb_toggle_title {
    position: relative;
    padding-right: 45px;
}

.et_pb_toggle_title::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    background: url('/wp-content/uploads/2026/07/arrow-toggle-faq.svg') no-repeat center;
    background-size: contain;
    transition: transform .3s ease;
}

/* Obrót po otwarciu */
.et_pb_toggle.et_pb_toggle_open .et_pb_toggle_title::after {
    transform: translateY(-50%) rotate(180deg);
}
/* ==========================
   Portfolio
========================== */

.dsa-portfolio span.et_overlay {
    border: none;
}

/* Filtry */

.dsa-portfolio .et_pb_portfolio_filters{
    margin-bottom:80px;
}

.dsa-portfolio .et_pb_portfolio_filters ul{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:24px;
}

.dsa-portfolio li.et_pb_portfolio_filter{
    margin:0;
}


.dsa-portfolio li.et_pb_portfolio_filter a{
    background:none;
    border:none;
    padding:0;

    color:var(--gcid-secondary-color);

    text-decoration:underline;
    text-decoration-color:transparent;
    text-decoration-thickness:2px;
    text-underline-offset:.3em;

    transition:all .25s ease;
}

.dsa-portfolio li.et_pb_portfolio_filter a:hover{
    background:none;
    color:var(--gcid-secondary-color);

    text-decoration-color:var(--gcid-primary-color);
    text-underline-offset:.15em;
}

.dsa-portfolio li.et_pb_portfolio_filter a.active,
.dsa-portfolio li.et_pb_portfolio_filter a.active:hover{

    background:none;
    color:var(--gcid-secondary-color);

    text-decoration-color:var(--gcid-primary-color);
    text-decoration-thickness:4px;
    text-underline-offset:.3em;
}

/* Portfolio */

.dsa-portfolio .et_pb_portfolio_item img{
    transition:all .25s ease;
    transform-origin:bottom center;
}

.dsa-portfolio .et_pb_portfolio_item a:hover img{
    transform:scale(.98);
}
.dsa-portfolio{
    --gcid-aea2hy2noc: transparent;
}
/*WPISY BLOGOWE*/
/*wyrównianie paddingu do tekstu we wpisie blogowym */
.wp-block-media-text__content {
    padding-left: 0 !important;
}

/*ikonki przy spisie treści*/
.et_pb_table_of_contents ul {
    list-style: none;
    padding-left: 0;
}

.et_pb_table_of_contents ul li {
    position: relative;
    padding-left: 22px;
}

.et_pb_table_of_contents ul li::before {
    content: "✿";
    position: absolute;
    left: 0;
    top: 2px;
    color: #E98C72;
    font-size: 14px;
}
/* mazak na tytułach ofert*/
.offer-title{
    position: relative;
    display: inline-block;
    z-index: 1;
}

.offer-title::before{
    content:"";
    position:absolute;
    left:0;
    bottom:6px;
    width:0%;
    height:45%;
    background:#CCB3C0;
    z-index:-1;
    transition:width .9s ease;
}

.offer-title.active::before{
    width:100%;
}