/* Google Fonts ładowane async z wp_head – patrz functions.php */

html, body {
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    /*cursor: url('https://crarch.dream-county.pl/wp-content/themes/blankslate/assets/cursor.ico'), auto;*/
}
/*
a:hover, img:hover, .carousel-slide {
    cursor: url('https://crarch.dream-county.pl/wp-content/themes/blankslate/assets/cursor-hand.ico'), auto!important;
}
*/
html {
    font-size: 10px;
}

/* Menu pionowe */
.vertical-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.vertical-nav li {
  margin: 0;
}

.vertical-nav li a {
    margin: 0;
    font-size: 1.6rem;
    color: black;
    text-decoration: none;
    transition: color 0.3s;
}

.vertical-nav li a:hover {
    color: #000;
}

/* Layout główny */
main#content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100vh;
    justify-content: flex-end;
    overflow: hidden;
}

.main-menu-section {
    width: 17vw;
    position: fixed;
    left: 16px;
    height: 100vh;
    top: 0;
    display: flex;
    align-items: center;
    z-index: 10;
    background: white;
}

nav.vertical-menu {
    position: absolute;
    top: 20vh;
}

.gallery-carousel-section {
    width: calc(83vw - 16px);
    height: 80vh;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    position: absolute;
    top: 20vh;
}

.carousel-container {
    width: 100%;
    height: 60vh;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-out;
    will-change: transform;
    cursor: grab;
    gap: 1ren;
}

.carousel-wrapper:active {
    cursor: grabbing;
}

.carousel-slide {
    min-width: 55%;
    max-width: 55%;
    flex-shrink: 0;
    transition: opacity 0.5s, transform 0.5s;
    filter: grayscale();
}

.carousel-slide.main-slajd {
    opacity: 1;
    z-index: 2;
    filter: none;
}

.carousel-slide img {
    width: 100%;
    height: 60vh;
    display: block;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.description-section {
  width: 17vw;
  position: fixed;
  left: calc(17vw + 16px);
  min-height: 100vh;
  top: 0;
  display: flex;
  align-items: center;
  /* border-right: 1px solid #ccc;  usuwamy, zastąpimy pseudo-elementem */
  z-index: 10;
  background: white;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* linia jako pseudo-element */
.description-section::after, .main-menu-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;              /* po prawej krawędzi */
  width: 1px;            /* grubość linii */
  height: 0;             /* start z 0 */
  background: #cccc;     /* kolor jak border */
  /* animacja rysowania */
  animation: draw-line 1200ms ease-out forwards;
  /* opcjonalnie opóźnienie: animation-delay: 150ms; */
}

@keyframes draw-line {
  from { height: 0; }
  to   { height: 100%; }
}


.categories-section, .single-section {
    width: calc(66vw - 32px);
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    position: absolute;
    height: max-content;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
    flex-direction: column;
}

.categories-section {
    top: 20vh;
    height: 80vh;
}

.single-section {
    top: 20vh;
    gap: 1.6rem;
}


span.add-info {
    position: absolute;
    top: 20vh;
    left: 16px;
    font-size: 1.6rem;
    color: black;
    text-decoration: none;
    gap: 24px;
    transition: color 0.3s;
    display: flex;
    flex-direction: column;
}

/* Style dla tekstu powitalnego i kategorii w środkowej kolumnie */
.default-content {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.welcome-text {
    font-size: 1.6rem;
    line-height: 1.6;
    color: black;
    margin: 0;
}

.subcategories-list {
    margin-top: 0;
    position: absolute;
    top: 20vh;
    padding: 0 1.6rem;
}

.subcategories-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.subcategories-nav li {
    margin: 0;
}

/* Accordion kategorii */
.category-accordion-item {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.category-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    width: 100%;
}

.category-name-link {
    font-size: 1.6rem;
    color: black;
    text-decoration: none;
    transition: color 0.3s;
    flex: 1;
}

.category-name-link:hover {
    color: #000;
    text-decoration: underline;
}

.category-accordion-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.3s;
    font-family: inherit;
}

.category-accordion-toggle:hover {
    opacity: 0.7;
}

.accordion-arrow {
    width: 12px;
    height: 12px;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion-arrow::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    transition: transform 0.3s ease;
}

.category-accordion-item.is-expanded .accordion-arrow::before {
    transform: translate(-50%, -50%) rotate(-135deg);
}

.category-posts-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    overflow: hidden;
    max-height: 0;
    transition: all 0.6s ease-out;
    line-height: 1.2;
    font-size: 1.4rem;
}

.category-accordion-item.is-expanded .category-posts-nav {
    max-height: 5000px;
}

.is-expanded .category-posts-nav {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
}

.category-posts-nav li {
    margin: 0;
}

.category-post-link {
    font-size: 1.4rem;
    line-height: 1.2;
    color: black;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding-inline-start: .8rem;
}

.category-post-link:hover {
    color: #000;
    text-decoration: underline;
}

/* Style dla szczegółów projektu */
.project-details {
    padding: 0 1.6rem;
    position: absolute;
    top: 20vh;
    font-size: 1.6rem;
    color: black;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.project-title {
    font-weight: 600;
    margin: 0;
    font-size: 1.6rem;
}

.project-excerpt {
    margin: 0;
    line-height: 1.6;
}

.project-params {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.param-item {
    line-height: 1.6;
}

.param-item strong {
    font-weight: 600;
}

span.add-info h4.desc-title {
    font-weight: 600;
}

.masonry-title-mobile {
    display: none;
    font-size: 1.4rem;
    padding: 8px 0 0;
    margin: 0;
}

.masonry-title-mobile a {
    color: black;
    text-decoration: none;
}

.masonry-container {
  width: 100%;
  box-sizing: border-box;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  grid-auto-rows: 1px;                   
  gap: 1.6rem;                       
}

.masonry-item {
  overflow: hidden;
}

/* Masonry fade-in on scroll (tylko dla elementów z klasą .masonry-reveal) */
html.js .masonry-item.masonry-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  will-change: opacity, transform;
}

html.js .masonry-item.masonry-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js .masonry-item.masonry-reveal,
  html.js .masonry-item.masonry-reveal.is-visible {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: grayscale(1);
    transition: all .3s;
}

.masonry-item img:hover {
    filter: grayscale(0);
    transition: all .3s;
}

.masonry-link {
    position: relative;
    display: block;
}

.masonry-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.6rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.6rem;
    font-weight: 600;
    pointer-events: none;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.masonry-item:hover .masonry-item-overlay {
    opacity: 1;
}

.view-switcher {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  width: 100%;
}

.view-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.view-btn.active {
  opacity: 1;
}

.view-btn img {
    width: 2.8rem;
    height: 2.8rem;
}

.table-container {
    width: 100%;
}

.realizacje-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.6rem;
  line-height: 2;
}

.realizacje-table th,
.realizacje-table td {
  border-bottom: 1px solid #ddd;
  padding: 0.6rem 1rem;
  text-align: left;
}

.realizacje-table th {
  font-weight: 600;
}

.realizacje-table th {
  font-weight: 600;
  background-color: transparent;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.realizacje-table th::after {
  content: "";
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
}

.realizacje-table th.sort-asc::after {
  border-bottom-color: black;
}

.realizacje-table th.sort-desc::after {
  border-top-color: black;
}

.realizacje-table a {
    color: black;
    text-decoration: none;
}

.categories-section, .single-section {
  overflow-y: auto;  
  -ms-overflow-style: none;  
  scrollbar-width: none;   
}



.categories-section::-webkit-scrollbar {
  display: none;  
}

.hover-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}

.hover-image-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Pokazuj hamburger tylko na mobile */
.hamburger-btn { 
  display: none;
  background: none; 
  border: 0; 
  padding: 0; 
  cursor: pointer;
}

.hamburger-box { display: inline-block; width: 2rem; height: 1.2rem; position: relative; }
.hamburger-line { position: absolute; left: 0; right: 0; height: .2rem; background: #111; transition: transform .2s ease, opacity .2s ease; }
.hamburger-line:nth-child(1){ top:0; } 
.hamburger-line:nth-child(2){ top:5px; } 
.hamburger-line:nth-child(3){ bottom:0; width: 50%; left: 50%; }
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(1){ transform: translateY(4px) rotate(45deg); }
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(2){ opacity: 0; }
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(3){ transform: translateY(-6px) rotate(-45deg); width: 100%; left:0;}
.offcanvas-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: 100%;
    max-width: 100%;
    background: #fff;
    transform: translateX(-100%);
    transition: transform .25s ease;
    z-index: 1000;
    overflow-y: auto;
    display: none;
    max-height: fit-content;
    top: 5vh;
}
.offcanvas-nav.is-open { 
    display: block; 
    transform: translateX(0);
    padding: 2.4rem 1.6rem;
}

.offcanvas-backdrop {
  position: fixed; 
  inset: 0; 
  opacity: 0; 
  transition: opacity .2s ease; 
  z-index: 999;
}
.offcanvas-backdrop.is-open { opacity: 1; }
.body-locked { overflow: hidden; }

.description-section.single {
  overflow-y: auto;  
  -ms-overflow-style: none;  
  scrollbar-width: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.description-section.single span.add-info {
    padding-bottom: 1rem;
    padding-right: 16px;
    flex: 1;
}

.single-section img {
    max-width: 100%;
    object-fit: fill;
    width: 100%;
}

.single-gallery-item {
    max-width: 100%;
    width: 100%;
    display: flex;
}

/* Single gallery fade-in on scroll (tylko dla elementów z klasą .single-gallery-reveal) */
html.js .single-gallery-item.single-gallery-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  will-change: opacity, transform;
}

html.js .single-gallery-item.single-gallery-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js .single-gallery-item.single-gallery-reveal,
  html.js .single-gallery-item.single-gallery-reveal.is-visible {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.single span.add-info {
    gap: 96px;
}

.powitanie {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 1025px) {
    .powitanie {
        min-height: 80vh;
    }
}

.parametry {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

span.add-info-mobile {
    font-size: 1.4rem;
    gap: 24px;
    display: flex;
    flex-direction: column;
}

.description-mobile {
    display: none;
}

.single-back {
    width: 100%;
    display: flex;
    padding-bottom: 2rem;
}

.single-back a {
    font-size: 1.4rem;
    color: black;
    text-transform: uppercase;
    text-decoration: none;
}

/* Przycisk Powrót - desktop w środkowej kolumnie */
.single-back.desktop {
    display: none;
    z-index: 100000;
}

@media (min-width: 1025px) {
    .description-section.single {
        position: fixed;
        min-height: 100vh;
        height: 100vh;
    }
    
    .single-back.desktop {
        display: flex;
        padding: 0 1.6rem 1.6rem 1.6rem;
        margin-top: auto;
        width: 100%;
        box-sizing: border-box;
    }
    
    .single-back.mobile {
        display: none;
    }
}

/* Przycisk Powrót - mobile na dole */
@media (max-width: 1024px) {
    .single-back.desktop {
        display: none;
    }
    
    .single-back.mobile {
        display: flex;
    }
}

.back-mobile-section {
    position: fixed;
    width: 100%;
    height: 5vh;
    background: #ffffff;
    top: 0;
    z-index: 1;
    display: none;
}

.pracownia-content {
    position: absolute;
    top: 20vh;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 1.6rem;
    color: black;
}

h2.pracownia-title {
    font-weight: 600;
}

.cards-grid.two-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.person-card {
  cursor: pointer;
  outline: none;
}

/* Person card fade-in on scroll (tylko dla elementów z klasą .person-card-reveal) */
html.js .person-card.person-card-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  will-change: opacity, transform;
}

html.js .person-card.person-card-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js .person-card.person-card-reveal,
  html.js .person-card.person-card-reveal.is-visible {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
.person-thumb-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1 / 1;
  background: #f2f2f2;
}
.person-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.categories-section.about {
    top: 20vh;
    font-size: 1.6rem;
    height: 80vh;
}

.pracownia-header {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.pracownia-switcher {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
    margin-bottom: 5.4rem;
    gap: .8rem;
    padding: 0;
}

button.switcher-btn {
    background: transparent;
    border: 0;
    font-size: 1.6rem;
    font-family: inherit;
    color: black;
    padding: 0;
    cursor: pointer;
}

button.switcher-btn.active {
    background: transparent;
    border: 0;
    font-size: 1.6rem;
    font-weight: 600;
}

.hover-person {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.hover-name {
    font-weight: 600;
}

.hover-role {
    color: #555;
}

article.person-card {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    color: black;
}

h2.pracownia-title.mobile, .pracownia-opis.mobile, h4.mobile.fullname, span.mobile.bio, .pracownia-switcher.mobile {
    display: none;
}

.cards-grid.two-cols > h2.pracownia-title {
    grid-column: 1 / -1;
    color: black;
}

.pracownia-opis.kontakt {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.adres {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

p.element {
    line-height: 1.6;
}

.pracownia-header.kontakt {
    gap: 3.2rem;
}

.categories-section.mapa {
    top: 20vh;
}

.maps-two {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
}

.maps-two .mapa {
    width: 100%;
    min-width: 0;
}

.maps-two iframe {
    display: block;
    width: 100%;
}

.categories-section.mapa .mapa {
    width: 100%;
    filter: grayscale(1);
}

/* Map fade-in on scroll (tylko dla elementów z klasą .mapa-reveal) */
html.js .mapa.mapa-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  will-change: opacity, transform;
}

html.js .mapa.mapa-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js .mapa.mapa-reveal,
  html.js .mapa.mapa-reveal.is-visible {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.kontakt.mobile {
    display: none;
}

.desc-title, .parametry-head {
    font-weight: 600;
}

span.about-mobile {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

  .categories-section.mapa .mapa iframe {
    height: 450px;
  }

  .module {
    display: flex;
    flex-direction: column;
    gap: .4rem;
 }

.pracownia-opis, .pracownia-hover-info {
    line-height: 1.3;
}

.view-switcher {
    display: none;
}

.archive p.desc-text span.difolt {
    padding-left: 16px;
    font-size: 1.4rem;
    padding-right: 16px;
    line-height: 1.3;
    position: absolute;
    top: 20vh;
}

img.trp-flag-image {
    display: none;
}

@media (min-width: 1025px){
  .hamburger-btn { display: none; }
  .offcanvas-nav, .offcanvas-backdrop { display: none !important; }
}


@media (max-width: 1800px) {
    .categories-section, .single-section {
        width: calc(66vw - 16px);
    }
}

/* Menu kategorii - widoczne tylko na mobile i tablet */
.categories-menu-mobile {
    display: none;
}

@media (max-width: 1024px) {
    .categories-menu-mobile {
        display: block;
        width: 100%;
        padding: 1.6rem;
        background: white;
        border-top: 1px solid #ddd;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }
    
    .categories-menu-nav {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: row;
        gap: 1.6rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .categories-menu-nav::-webkit-scrollbar {
        display: none;
    }
    
    .categories-menu-nav li {
        margin: 0;
        flex-shrink: 0;
    }
    
    .category-menu-link {
        font-size: 1.4rem;
        color: black;
        text-decoration: none;
        white-space: nowrap;
        padding: 0.8rem 1.2rem;
        display: block;
        transition: color 0.3s;
    }
    
    .category-menu-link:hover,
    .category-menu-link:focus {
        color: #000;
        text-decoration: underline;
    }
    
    .main-menu-section {
        width: 20%;
        padding: 0;
        top: 16px;
        left: 85%;
        justify-content: flex-start;
        position: fixed;
        height: fit-content;
        border-right: 0;
        z-index: 11;
    }
    
    nav.vertical-menu {
        display: none;
    }
    
    .vertical-nav {
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .gallery-carousel-section {
        width: 100%;
        height: inherit;
        top: 0;
        overflow: scroll;
        height: 100vh;
    }
    
    main#content {
        flex-direction: column;
    }

    .back-mobile-section {
    display: flex;
}

.cards-grid.two-cols {
    gap: 3.2rem;
    padding-bottom: 3rem;
}

.categories-section.about {
    top: 10vh;
    font-size: 1.4rem;
    height: 90vh;
}

h2.pracownia-title.mobile {
    margin-bottom: 1.6rem;
    color: black;
}

.pracownia-opis.mobile {
    color: black;  
}

button.switcher-btn, button.switcher-btn.active {
    font-size: 1.4rem;
}

h2.pracownia-title.mobile, .pracownia-opis.mobile, h4.mobile.fullname, span.mobile.bio, .pracownia-switcher.mobile {
    display: flex;
}

h4.mobile.fullname {
    font-weight: 600;
}

.categories-section.mapa {
    top: 10vh;
}

.maps-two {
    grid-template-columns: 1fr;
}

.pracownia-header.kontakt {
    font-size: 1.4rem;
    padding-bottom: 2.4rem;
}

.kontakt.mobile {
    display: flex;
}

.menu-arrow {
    display: none;
}

    .carousel-slide img, .carousel-container {
        height: inherit;
    }

    .carousel-slide {
        max-width: 100%;
    }

  .carousel-container[data-active-mode="list"] { overflow: visible; }
  .carousel-container[data-active-mode="list"] .carousel-wrapper {
    display: block;
    transform: none !important;
    padding: 16px;
    margin-top: 120vh;
  }

.hamburger-btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
}

footer#footer {
    top: 16px;
    right: 16px;
    left: auto;
}

.offcanvas-nav {
    top: 3vh;
}

.powitanie {
    gap: 6px;
}

.categories-section, .single-section {
    width: 100%;
}
.description-mobile {
    display: flex;
}

    .description-section {
        display: none !important;
    }

    .single-section {
        top: 10vh;
    }

    .cards-grid.two-cols h2.pracownia-title, span.mobile.bio {
        display: none;
    }

    .pracownia-opis.mobile {
        margin-bottom: 2.4rem;
        line-height: 1.3;
    }
    
}

@media (max-width: 760px) {

    .categories-section.mapa .mapa iframe {
        height: 250px;
    }

    .main-menu-section {
        left: 70%;
    }

    .cards-grid.two-cols {
        grid-template-columns: repeat(1, 1fr);
    }


    .offcanvas-nav {
        top: 5vh;
    }
    .carousel-slide {
        min-width: 100%;
        max-width: 100%;
    }

.header-logo {
    left: 16px;
    top: 12px;
    max-width: 60%;
}
.vertical-nav {
    gap: 1.6rem;
}

.vertical-nav li a {
    font-size: 1.4rem;
}



    .categories-section,.single-section {
        width: 100%;
    }

    .masonry-grid {
        grid-auto-rows: 1px;
    }

    .masonry-title-mobile { 
        display: block; 
    }

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

    .realizacje-table th, .realizacje-table td {
        padding: 1rem 0rem;
    }

    .realizacje-table {
        font-size: 1.2rem;
    }
    img {
        width: 100%;
    }

    .categories-section, .single-section {
        top: 10vh;
        height: 90vh;
    }

    ul#menu-menu-1 li:focus, ul#menu-menu-1 li a:focus {
    border: 0;
    outline: 0;
}



span.add-info-mobile {
    padding-bottom: 48px;
}

.description-mobile h4.desc-title {
    font-weight: 600;
}



}
