.ProfilProjektanta {
    color: #20242a;
}

.ProfilProjektantaHero {
    background: #eee9df;
    padding: 42px 0 55px 0;
}

.ProfilProjektantaKontenerGora {
        padding: 0 45px 0 45px;

}

@media only screen and (max-width: 640px) {
  
.ProfilProjektantaKontenerGora {
        padding: 0 25px 0 25px;

}

}

.ProfilProjektantaGora {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 55px;
    align-items: center;
}

.ProfilProjektantaGlowneFoto {
    width: 100%;
    overflow: hidden;
}

.ProfilProjektantaGlowneFoto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ProfilProjektantaKarta {
    background: #fff;
    border: 1px solid #ddd;
    padding: 32px 38px;
    min-height: 340px;
    box-sizing: border-box;
}

.ProfilProjektantaKarta h1 {
    margin: 0 0 8px 0;
    font-size: 36px;
    line-height: 0.95;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}
small.Kodd { display:block; padding-bottom:15px; }

.ProfilProjektantaOsoba {
    margin: 0 0 28px 0;
    font-size: 15px;
}

.ProfilProjektantaDane {
    margin: 0 0 16px 0;
    font-size: 13px;
    line-height: 1.45;
}

.ProfilProjektantaDane strong {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ProfilProjektantaDane a {
    color: #111;
    text-decoration: none;
}

.ProfilProjektantaDane a:hover {
    text-decoration: underline;
}

.ProfilProjektantaSociale {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.ProfilProjektantaSociale {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.ProfilProjektantaSociale a {
    width: 36px;
    height: 36px;
    background: #111;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ProfilProjektantaSociale a:hover {
    background: #333;
    transform: translateY(-2px);
}

.ProfilProjektantaSociale svg {
    width: 21px;
    height: 21px;
    display: block;
    fill: currentColor;
    stroke: none;
}

.ProfilProjektantaSociale a[title="Instagram"] svg,
.ProfilProjektantaSociale a[title="X"] svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ProfilProjektantaSociale a {
    width: 34px;
    height: 34px;
    background: #111;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    border-radius: 4px;
}

.ProfilProjektantaSociale a:hover {
    background: #333;
}
.ProfilProjektantaSociale a.IkonaYoutube svg {
    width: 22px;
    height: 22px;
    display: block;
}

.ProfilProjektantaSociale a.IkonaYoutube .YoutubeTlo {
    fill: currentColor;
    stroke: none;
}

.ProfilProjektantaSociale a.IkonaYoutube .YoutubePlay {
    fill: #111;
    stroke: none;
}

.ProfilProjektantaSociale a.IkonaYoutube {
    color: #fff;
}
.ProfilProjektantaOpisSekcja {
    background: #fff;
    padding: 55px 0 50px 0;
    text-align: center;
}

.ProfilProjektantaOpisSekcja h2 {
    margin: 0 0 25px 0;
    font-size: 30px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ProfilProjektantaOpis {
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.65;
}

.ProfilProjektantaOpis p {
    margin: 0 0 14px 0;
}

.ProfilProjektantaRealizacje {
    background: #fff;
    padding: 25px 0 75px 0;
}

.ProfilProjektantaRealizacjeNaglowek {
    border-top: 1px solid #e5e5e5;
    padding-top: 25px;
    margin-bottom: 25px;
}

.ProfilProjektantaRealizacjeNaglowek h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ProfilProjektantaGaleria {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ProfilProjektantaGaleria a {
    display: block;
    height: 185px;
    overflow: hidden;
    background: #eee;
}

.ProfilProjektantaGaleria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.ProfilProjektantaGaleria a:hover img {
    transform: scale(1.05);
}

.ProfilProjektantaBrak {
    padding: 40px 0;
}

.ProfilProjektantaPowrot {
    margin-top: 30px;
}

.ProfilProjektantaPowrot a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    background: #111;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
}

.ProfilProjektantaPowrot a:hover {
    background: #333;
}

@media only screen and (max-width: 1024px) {
    .ProfilProjektantaGora {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ProfilProjektantaGlowneFoto {
        height: 360px;
    }

    .ProfilProjektantaGaleria {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 640px) {
    .ProfilProjektantaHero {
        padding: 25px 0 35px 0;
    }

    .ProfilProjektantaGlowneFoto {
        height: auto;
    }

    .ProfilProjektantaKarta {
        padding: 25px;
    }

    .ProfilProjektantaKarta h1 {
        font-size: 28px;
    }

    .ProfilProjektantaOpisSekcja h2,
    .ProfilProjektantaRealizacjeNaglowek h2 {
        font-size: 24px;
    }

    .ProfilProjektantaGaleria {
        grid-template-columns: 1fr;
    }

    .ProfilProjektantaGaleria a {
        height: 230px;
    }
}