/*
Theme Name: Mirella Panek-Owsiańska Theme
Author: Natalia Bednarczyk
Description: Motyw dedykowany
Version: 1.0
*/

@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css?family=Raleway:900,400,500,700");

/* ================= RESET & BASE ================= */
* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --jasnoszary: rgba(251, 251, 252, 1);
  --morski: rgba(133, 156, 166, 1);
  --jasnomorski: rgba(210, 214, 217, 1);
  --malinowy: rgba(242, 5, 68, 1);
  --ciemnomalinowy: rgba(191, 4, 38, 1);
  --prawie-czarny: rgba(16, 19, 20, 1);
}

html, body {
  margin: 0;
  height: 100%;
}

body {
  background-color: var(--jasnomorski);
  font-family: "Raleway", sans-serif;
  line-height: 1.5;
  color: var(--prawie-czarny);
}

a {
  text-decoration: none;
  color: var(--malinowy);
  font-weight: 700;
}

img {
  display: block;
}

strong, b {
  font-weight: 700;
}

/* ================= KLASY POMOCNICZE (UTILITIES) ================= */

.section-title-outline {
  font-weight: 900;
  font-size: 5.75rem;
  line-height: 1;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px var(--prawie-czarny);
  margin: 0 0 4.25rem 0;
}

.section-subtitle {
  font-weight: 700;
  font-size: 2.7rem;
  line-height: 1.2;
  color: var(--prawie-czarny);
}

.text-large {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 700;
}

.text-medium {
  font-size: 2.5rem;
}

.text-sm {
  font-size: 1.5rem;
  line-height: 1.2;
}

.border-bottom {
  position: relative;
}

.border-bottom::after {
  content: "";
  position: absolute;
  background: var(--prawie-czarny);
  width: calc(100% - 5rem);
  height: 1px;
  left: 2.5rem;
  bottom: -1px;
}

.bg-gray {
  background-color: #dadfe2;
}

.no-padding-bottom {
    padding-bottom: 0 !important;
}

/* ================= LAYOUT GŁÓWNY ================= */

.site-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--jasnomorski);
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 1.25rem;
}

.page-container {
  position: relative;
  width: 100%;
  max-width: 90rem;
  background-color: var(--jasnomorski);
  border: 1px solid var(--prawie-czarny);
  display: flex;
  flex-direction: column;
}

.section-standard {
    padding: 5rem 2.5rem;
}

.section-standard p {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--prawie-czarny);
  margin: 0;
}

.section-standard ul,
.section-standard ol,
.entry-content ul,
.entry-content ol {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  font-size: 1.125rem;
}

.entry-content ol {
    list-style-type: decimal;
    list-style-position: inside;
    margin-left: 0;
    padding-left: 0;
}

.entry-content ul ul,
.entry-content ul ol,
.entry-content ol ol,
.entry-content ol ul {
    padding-top: 1.75rem;
}

.entry-content ol ol,
.entry-content ol ul {
    padding-left: 2.25rem;
}

.section-standard ul li,
.entry-content ul li {
    position: relative;
    padding-left: 2.25rem;
}

.section-standard ul li::before,
.entry-content ul li::before {
    content: '';
    background: var(--malinowy);
    width: 1rem;
    height: 1rem;
    position: absolute;
    top: 6px;
    left: 0;
    border-radius: 50%;
}

.cta {
  width: 10rem;
  height: 10rem;
  display: flex;
  justify-content: center;
  align-items: center;    
  text-decoration: none;
  z-index: 10;
  transition: transform 0.3s ease;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--malinowy);
  border-radius: 50%;
  z-index: -1;
}

.cta:hover {
  transform: scale(1.05);
}

.cta-text {
  position: relative;
  font-weight: 500;
  color: var(--jasnomorski);
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.2;
}

.cta-text.sm {
    font-size: .925rem;
}

/* ================= HEADER & MENU ================= */

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem;
  width: 100%;
  position: relative;
  z-index: 100;
}

.main-header.if-no-hero-section {
    background-color: #dadfe2;
}

.main-header::after {
  content: '';
  position: absolute;
  background: var(--prawie-czarny);
  width: calc(100% - 5rem);
  height: 1px;
  left: 2.5rem;
  bottom: 0;
}

.header-logo {
  font-weight: 700;
  color: var(--prawie-czarny);
  font-size: 1.25rem;
  line-height: 1.2;
  white-space: nowrap;
}

.header-logo a {
  color: var(--prawie-czarny);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav ul li {
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--prawie-czarny);
  display: block;
}

.main-nav ul li a {
  color: var(--prawie-czarny);
  transition: color 0.2s ease;
}

.main-nav ul li.active a,
.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a,
.blog .main-nav ul li.current_page_parent a {
  color: var(--malinowy);
}

.main-nav ul li.lang-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.main-nav ul li.lang-item + li.lang-item {
    margin-left: -1.25rem;
}

/* --- HAMBURGER (MENU MOBILNE) --- */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 200;
}

.hamburger .bar {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--prawie-czarny);
  transition: 0.3s;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= HERO SECTION ================= */

.hero-section {
  position: relative;
  width: 100%;
  padding: 6.75rem 4rem 10rem;
}

.hero-section::after {
  content: '';
  position: absolute;
  background: var(--prawie-czarny);
  width: calc(100% - 5rem);
  height: 1px;
  left: 2.5rem;
  bottom: -1px;
}

.hero-section .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  align-content: flex-start;
}

.hero-section .hero-image {
  position: absolute;
  top: .75rem;
  left: calc(50% + .75rem);
  transform: translateX(-50%); 
  width: auto;
  height: calc(100% - .75rem);
  z-index: 1; 
}

.hero-section.hero-en .hero-image {
  left: calc(50% + 4.75rem);
}

.hero-section .hero-title-wrapper {
  z-index: 2; 
}

.hero-section .hero-main-text {
  font-weight: 700;
  color: var(--prawie-czarny);
  font-size: 6.75rem;
  line-height: 1;
  margin: 0;
}

.hero-section .hero-desc-wrapper {
  text-align: right;
  z-index: 2; 
}

.hero-section .hero-description {
  font-weight: 500;
  color: var(--prawie-czarny);
  font-size: 2.7rem;
  line-height: 1.2;
  margin: .5rem 0 0;
}

.hero-section .hero-description span {
  display: block;
}

.hero-section .hero-description .highlight {
  font-weight: 700; 
}

.hero-section .hero-cta {
  position: absolute;
  bottom: -5rem;
  right: 10rem;
}

.hero-section-2 {
  position: relative;
  width: 100%;
  padding: 5rem 2.5rem 0;
}

.hero-section-2 .container {
    position: relative;
    padding: 0 10rem 7.5rem;
}

.hero-section-2 .hero-desc-wrapper {
    padding-top: 5rem;
    max-width: 31rem;
    position: relative;
    z-index: 2; 
}

.page-template-page-oferta .hero-section-2 .hero-desc-wrapper {
    max-width: 35rem;
}

.page-template-page-oferta .hero-section-2 .hero-description {
    max-width: 28rem;
}

.hero-section-2 .hero-description {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    line-height: 1.3;
}

.hero-section-2 .hero-description br {
    display: none;
}

.hero-section-2 .hero-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    right: auto;
    width: auto;
    height: calc(100% - 7rem);
    z-index: 1;
}

.hero-section-2 .hero-cta {
  position: absolute;
  bottom: -5rem;
  right: 0;
  left: 0;
  margin: 0 auto;
}

/* ================= SERVICES / OFFER SECTION ================= */

.services-section {
  width: 100%;
  padding: 5rem 2.5rem 8.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-section .section-subtitle {
  text-align: center;
  margin: 0 0 3.75rem 0;
}

.page-template-page-oferta .services-section {
    margin-bottom: 5rem;
}

.page-template-page-oferta .services-section .cta {
    position: absolute;
    bottom: -5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 3.75rem 2.5rem;
  width: 100%;
}

.page-template-page-oferta .services-grid {
    gap: 2.5rem;
}

.service-card {
  position: relative;
  border: 1px solid var(--prawie-czarny);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: transparent;
  height: 100%;
}

.service-card.service-cta {
    padding-bottom: 3.75rem;
}

.card-title {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--prawie-czarny);
  margin: 0 0 1.75rem 0;
}

.card-desc {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--prawie-czarny);
  margin: 0;
}

.card-cta-btn {
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: var(--malinowy);  
  display: flex;
  align-items: center;
  justify-content: center;  
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--jasnomorski);
  text-align: center;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.3s ease;
  z-index: 2;
}

.card-cta-btn:hover {
  transform: translateX(-50%) scale(1.1);
}

/* ================= ABOUT SECTION (O MNIE) ================= */

.column-layout {
  position: relative;
  padding: 5rem 0;
}

.home .column-layout.about-section {
  background-color: #dadfe2;
}

.page-template-page-o-mnie .column-layout.manifesto-section {
  background-color: #cccccc;
  padding-top: 7.5rem;
}

.home .column-layout.about-section::after {
  content: '';
  position: absolute;
  right: 7.5rem; 
  top: 16.2rem;
  bottom: -3.75rem;
  background: var(--prawie-czarny);
  width: 1px;
  z-index: 1;
}

.column-layout-content {
  position: relative;
  width: 100%;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.column-layout-text-block {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
  max-width: 51rem;
}

.column-layout-text-block p {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--prawie-czarny);
  margin: 0;
}

.column-layout-text-block .text-medium-bold {
  font-size: 1.125rem;
  font-weight: 700;
}

.home .column-layout.about-section .cta {
  position: absolute;
  bottom: 0;
  right: 2.5rem;
}

.page-template-page-o-mnie .column-layout.energy-section .cta {
  margin: 5rem auto 0;
}

.column-layout-image {
  width: 100%;
  margin-top: -5rem;
  position: relative;
  z-index: 1;
}

.column-layout-image img {
  width: 100%;
  height: auto;
  max-width: 93.5rem;
  margin: 0 auto;
  display: block;
}

/* ================= BLOG SECTION ================= */

.blog-section {
  width: 100%;
  padding: 5rem 2.5rem 0; 
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.blog-intro-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  border-right: 1px solid var(--prawie-czarny);
  padding-right: 2.5rem;
  height: 100%;
}

.blog-text {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--prawie-czarny);
  margin: 0;
}

.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.card-image-wrapper {
  position: relative;
  width: 100%;
}

.card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.card-date,
.single-date {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: var(--jasnomorski);
  padding: 0.25rem 0.5rem;
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--prawie-czarny);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum";
}

.single-date {
    font-size: 1rem;
}

.blog-card-title {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--prawie-czarny);
  margin: 0;
}

.blog-cta {
  position: relative;
}

.blog-top-section {
    display: flex;
    gap: 2.5rem; 
    padding: 0 2.5rem;
    margin-bottom: 5rem;
}

.blog-sidebar {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.blog-sidebar h3 {
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 700;
    margin-bottom: .5rem;
}

.tags-cloud {
    line-height: 2; 
    text-align: left;
}

.tags-cloud a {
    display: inline-block;
    font-size: 0.75rem;
    text-decoration: none;
    margin-right: .75rem;
    color: var(--prawie-czarny);
    font-weight: 400;
}

@media (min-width: 1141px) {
    .tags-cloud {
      text-align: justify !important;
    }
    .tags-cloud .tag-link:nth-child(n+35) {
        display: none;
    }
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    border: 1px solid var(--prawie-czarny);
    border-radius: 0;
    width: 100%;
    margin-top: .5rem;
    padding: 12px 15px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--prawie-czarny);
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' width='18px' height='18px'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 24px;
}

select:focus {
    outline: none;
    border-color: var(--prawie-czarny);
}

select::-ms-expand {
    display: none; 
}

[pk-flickity="init"] .flickity-page-dots {
  flex-wrap: wrap;
  gap: 0;
}

[pk-flickity="init"] figcaption {
  padding: 0 !important;
}

.featured-post {
    display: block;
    overflow: hidden;
    width: calc(66.666% - 0.75rem);
}

.featured-image-wrapper {
    position: relative;
    float: left;
    width: calc(50% - 4.25rem);
    margin: 1.5rem 1.75rem 1.25rem 1.5rem;
}

.featured-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

.featured-content {
    display: block;
    background-color: #cbd0d4;
    padding: 1.5rem;
}

.blog .featured-content .read-more-link {
    margin-top: .75rem;
}

.featured-title {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: .75rem;
    line-height: 1.2;
}

.featured-title a {
    text-decoration: none;
    color: var(--prawie-czarny);
}

.featured-title {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: .75rem;
    line-height: 1.2;
}

.featured-title a {
    text-decoration: none;
    color: var(--prawie-czarny);
}

.blog-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2.5rem;
    padding: 0 2.5rem;
    width: 100%;
    margin-bottom: 5rem;
}

.blog-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; 
  gap: 3.75rem;
  width: 100%;
  margin-bottom: 5rem;
  align-items: start;
}

.blog .blog-card-link {
    background-color: #cbd0d4;
    padding: 1.5rem;
    width: calc((100% - 5rem) / 3);
}

.page-template-page-projekty .blog-grid .blog-card-link {
    width: calc((100% - 2.5rem) / 2);
}

.blog .blog-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.blog .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .75rem;
}

.blog .card-content > div {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.blog .blog-card-title {
    font-size: 1.125rem;
    line-height: 1.5;
}

.page-template-page-projekty .blog-card-title {
    font-size: 2.5rem;
    line-height: 1.2;
}

.blog .card-excerpt,
.featured-excerpt {
    font-size: .925rem;
    line-height: 1.4;
    font-weight: 400;
}

.page-template-page-projekty .card-excerpt {
    font-size: 1.125rem;
    line-height: 1.5;
}

.excerpt-mobile {
    display: none;
}

.read-more-text,
.read-more-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    color: var(--prawie-czarny);
}

.read-more-text::after, .read-more-link::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: rotate(-90deg);
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-numbers {
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--prawie-czarny);
    text-decoration: none;
    font-weight: 700;
    line-height: 1;
    display: inline-block;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum";
}

.page-numbers.current {
    font-weight: 400;
}

.page-numbers.dots {
    letter-spacing: 2px;
    font-weight: 400;
}

.page-numbers.next,
.page-numbers.prev {
    font-size: 0;
    display: flex;
    align-items: center;
    padding: 0;
}

.page-numbers.next::after,
.page-numbers.prev::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.page-numbers.next::after {
    transform: rotate(-90deg);
}

.page-numbers.prev::before {
    transform: rotate(90deg);
}

.blog-single-one-column {
    max-width: 51rem;
    margin: 0 auto;
    padding-bottom: 3.5rem;
}

.page .blog-single-one-column {
    padding-bottom: 0;
}

.single-featured-wrapper {
    position: relative;
    margin-bottom: 3.75rem;
}

.single-featured-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.single-title {
    text-align: center;
    font-weight: 700;
    font-size: 2.7rem;
    line-height: 1.2;
    margin-bottom: 3.25rem;
    margin-top: 0;
    color: var(--prawie-czarny);
}

.project-single-subtitle {
    text-align: center;
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.3;
}

.entry-content figcaption {
  background: rgba(210, 214, 217,.75) !important;
  color: var(--prawie-czarny) !important;
  text-shadow: none !important;
  font-size: .75rem !important;
  padding: .5rem;
  font-weight: 700;
}

.entry-content {
    font-size: 1.125rem;
    margin-bottom: 5rem;
}

.single-footer-widgets {
    position: relative;
    padding-top: 5rem;
}

.single-footer-widgets::before {
  content: '';
  position: absolute;
  background: var(--prawie-czarny);
  width: 100%;
  height: 1px;
  left: 0;
  top: 0;
}

.full-width-widget {
    margin-bottom: 2.5rem;
}

.single-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.back-btn-wrapper {
    display: flex;
    justify-content: flex-end;
}

/* =========================================
   STYLOWANIE BLOKÓW GUTENBERGA
   ========================================= */

.entry-content p {
    margin-bottom: 1.75rem;
    font-size: 1.125rem;
}

.entry-content > ul,
.entry-content > ol {
    margin-bottom: 1.75rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--prawie-czarny);
    font-weight: 700;
    margin-top: 3.75rem;
    margin-bottom: 1.75rem;
}

.entry-content > h1:first-child,
.entry-content > h2:first-child,
.entry-content > h3:first-child,
.entry-content > h4:first-child,
.entry-content > h5:first-child,
.entry-content > h6:first-child {
    margin-top: 0;
}

.entry-content h1 { font-size: 3rem; line-height: 1.2; }
.entry-content h2 { font-size: 2.5rem; line-height: 1.2; }
.entry-content h3 { font-size: 2rem; line-height: 1.2; }
.entry-content h4 { font-size: 1.5rem; line-height: 1.3; }
.entry-content h5 { font-size: 1.25rem; line-height: 1.3; }
.entry-content h6 { font-size: 1.125rem; line-height: 1.5; }

.entry-content blockquote {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem .01rem;
    border-left: 4px solid var(--malinowy);
    background-color: #cbd0d4;
    font-style: italic;
}

.entry-content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
}

.entry-content figure {
    margin: 2.5rem 0;
    width: 100%;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
}

[pk-flickity="init"] .flickity-page-dots {
    flex-direction: row !important;
}

.wp-block-button {
    margin-bottom: 2rem;
}

.wp-block-button__link {
/*     background-color: var(--prawie-czarny);
    color: #fff !important; */
    padding: 0.8rem 2rem;
    border-radius: 0;
    text-decoration: none !important;
    font-weight: 600;
    transition: background 0.3s ease;
    display: inline-block;
}

/* .wp-block-button__link:hover {
    background-color: #444;
    color: #fff !important;
}

.is-style-outline .wp-block-button__link {
    background-color: transparent;
    border: 2px solid var(--prawie-czarny);
    color: var(--prawie-czarny) !important;
} */

.entry-content table {
    width: 100%;
    margin-bottom: 2rem;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.entry-content thead {
    border-bottom: 1px solid;
}

.entry-content th,
.entry-content td {
    padding: 12px;
    border-bottom: 1px solid var(--prawie-czarny);
    text-align: left;
}

.entry-content th {
    font-weight: 700;
    border-bottom: 1px solid var(--prawie-czarny);
}

.entry-content hr.wp-block-separator {
    margin: 3rem auto;
    border: none;
    border-top: 1px solid var(--prawie-czarny);
    max-width: 5rem;
}

.entry-content .wp-block-embed {
    margin: 2.5rem 0;
}

.wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.media-split-container {
    display: flex;
    gap: 5rem;
  padding: 0 2.5rem;
    align-items: flex-start;
}

.media-column-left,
.media-column-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.media-item,
.media-content-area,
.media-header-area {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.media-layout-horizontal {
    display: grid;
    /*gap: 1.25rem 2.5rem;
    grid-template-columns: 280px 1fr;
    grid-template-areas:
        "image header"
        "image desc";    
    align-items: start;*/
    grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "image"
            "desc";            
        gap: 1.25rem;
}

.media-image-area {
    grid-area: image;
    align-self: center
}

.media-image-area img {
    width: 100%;
    height: auto;
    display: block;
}

.media-header-area {
    grid-area: header; 
}

.media-desc-area {
    grid-area: desc; 
}

.media-meta-header {
    font-weight: 500;
    font-size: 0.8125rem;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum";
}

.media-meta-header > div {
    background: var(--morski);
    color: var(--jasnoszary);
    padding: .15rem .5rem;
    display: inline-block;
}

.media-title {
    font-size: 1.5rem;
    line-height: 1.2;
}

.media-title a {
    text-decoration: none;
    color: var(--prawie-czarny);
}

.media-description {
    display: flex;
    flex-direction: column;
    gap: .925rem;
}

.media-embed-wrapper {
    width: 100%;
}

.media-embed-wrapper iframe {
    width: 100%;
    border: none;
    display: block;
}

.media-embed-wrapper iframe[src*="youtube"],
.media-embed-wrapper iframe[src*="vimeo"] {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
}



/* ================= SYSTEM: SPLIT LAYOUT ================= */

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  width: 100%;
  align-items: center;
  margin: 0 auto;
}

.split-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.split-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 3.25 / 4; 
}

.page-template-page-o-mnie .split-image.split-image-1 {
    object-position: 80% top;
}

.split-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  justify-content: center;
  padding: 0;
}

.newsletter-section .split-content {
  padding-bottom: 1.25rem;
}

.page-template-page-kontakt .newsletter-section .split-content {
    padding-bottom: 0;
}

.split-layout--reverse .split-content {
  order: 1;
}
.split-layout--reverse .split-image-wrapper {
  order: 2;
}

/* ================= NEWSLETTER SECTION ================= */

.newsletter-section {
    padding: 7.5rem 2.5rem 5rem;
    display: flex;
    justify-content: center;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  width: 100%;
  max-width: 83.75rem;
  align-items: center;
}

.newsletter-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  min-height: 31.25rem;
}

.newsletter-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.newsletter-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.newsletter-section .section-title-outline {
    text-align: left;
    margin: 0;
}

.newsletter-section .text-block {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.newsletter-text-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.125rem;
    color: var(--prawie-czarny);
}

.newsletter-form,
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.form-group,
.wpcf7 p { 
    display: flex; 
    flex-direction: column; 
    gap: 0.25rem; 
}

.form-label,
label {  
    font-size: 1.125rem; 
    color: var(--prawie-czarny); 
}

.form-input,
input { 
    height: 3.25rem; 
    border: 1px solid var(--prawie-czarny); 
    background-color: transparent; 
    padding: 0 1rem;  
    font-size: 1rem; 
    width: 100%; 
    border-radius: 0; 
    font-family: "Raleway", sans-serif;
}

textarea { 
    height: 3.25rem; 
    border: 1px solid var(--prawie-czarny); 
    background-color: transparent; 
    padding: 0 1rem;  
    font-size: 1rem; 
    width: 100%; 
    height: 208px;
    border-radius: 0; 
    font-family: "Raleway", sans-serif;
}

.newsletter-submit-btn,
input[type=submit] { 
    height: 3.25rem; 
    background-color: var(--malinowy); 
    color: var(--jasnomorski); 
    border: none;  
    font-weight: 500; 
    font-size: 1.125rem; 
    cursor: pointer; 
    margin-top: 0.5rem; 
    width: 100%; 
  font-family: "Raleway", sans-serif;
}

.wpcf7-spinner {
  position: absolute !important;
  margin-top: 23px !important;
    margin-left: 1rem;
}

.wpcf7-not-valid-tip {
    font-size: .825rem;
    color: var(--malinowy);
    margin-top: 5px;
}

.wpcf7-response-output, .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: 600;
    font-size: .925rem;
    line-height: 1.4;
}

/* ================= SYSTEM: HERO PANEL ================= */

.hero-panel {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 35rem;
  margin-bottom: 2.5rem;
  padding: 5rem 12.5rem;
  background-size: cover;
  background-position: left 80% center;
  background-repeat: no-repeat;
}

.hero-panel.contact-section {
    padding-right: 2.5rem;
    padding-left: 2.5rem;
}

.hero-panel.hero-panel--reverse::before {
  content: "";
  flex-grow: 1;
}

.panel-content {
  width: 38rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  flex-shrink: 0;
}

.hero-panel.contact-section .panel-content {
    width: 44rem;
    text-align: center;
}

.hero-panel.contact-section .panel-content h2 {
    margin-bottom: 1.25rem;
}

.hero-panel.contact-section .panel-content .cta {
    margin: 1.75rem auto 0;
}

.page-template-page-oferta .hero-panel.audience-section {
    background-position: left center;
    padding: 12.5rem 4rem 7.5rem;
    margin-bottom: 0;
}

.page-template-page-oferta .hero-panel.audience-section .panel-content {
    width: calc(50% + 5rem);
}

.page-template-page-oferta .hero-panel.audience-section p {
    font-size: 1.5rem;
    line-height: 1.2;
}

/* ================= SLIDER ================= */

.recommendation-section {
    padding-bottom: 7.5rem;
}

.recommendation-section .section-subtitle {
    margin: 0 0 3.75rem 0;
    text-align: center;
}

.recommendation-section .splide {
  width: 100%;
  margin: 0 auto;
  padding: 0 12.5rem;
  position: relative;
}

.splide__list {
  flex-direction: row !important;
  gap: 0;
  font-size: inherit;
}

.splide__track {
  transition: height 0.4s ease-in-out;
}

.testimonial-card {
  background-color: #cbd0d4;
  padding: 1.75rem;
  border-radius: 0;
  text-align: left;
}

.testimonial-card p {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-size: .925rem;
  line-height: 1.4;
  margin-bottom: .925rem;
  color: var(--prawie-czarny);
}

.testimonial-card cite {
  display: block;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1rem;
  color: var(--prawie-czarny);
  margin-top: 1rem;
}

.splide__arrow {
  background: none !important;
  opacity: 1 !important;
  width: 4rem !important;
  height: 4rem !important;
  border-radius: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  position: absolute !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.splide__arrow svg { display: none; }

.splide__arrow::after {
  content: '';
  display: block;
  width: 0; 
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
}

.splide__arrow--prev {
  left: 9.5em !important;
}
.splide__arrow--prev::after {
  border-right: 16px solid var(--prawie-czarny); 
}

.splide__arrow--next {
  right: 9.5em !important;
}
.splide__arrow--next::after {
  border-left: 16px solid var(--prawie-czarny);
}

.splide__arrow:hover {
  opacity: 0.6;
  background: none;
}

.splide__pagination {
  bottom: -2.5rem !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.splide__pagination__page {
  width: 15px !important; 
  height: 15px !important;
  margin: 0 5px !important;
  background: transparent !important;
  border: 1px solid var(--prawie-czarny) !important;
  opacity: 1 !important;
  border-radius: 50% !important;
  transition: background-color 0.3s ease !important;
  transform: scale(1) !important;
}

.splide__pagination__page.is-active {
  background: var(--prawie-czarny) !important;
  transform: scale(1) !important;
}

.splide__slide {
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
  max-height: 3000px; 
  opacity: 1;
  overflow: hidden; 
}

.splide__slide:not(.is-active) {
  max-height: 0;
  opacity: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


/* ================= FOOTER ================= */

.main-footer {
  width: 100%;
  padding: 2.5rem;
  display: flex;
  justify-content: center;
  background-color: var(--jasnomorski);
}

.footer-content {
  width: 100%;
  max-width: 90rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.5rem;
  border-top: 1px solid var(--prawie-czarny);
}

.copyright, .footer-nav ul li {
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--prawie-czarny);
  text-decoration: none;
}

.footer-nav ul li a {
    font-weight: 500;
    color: var(--prawie-czarny);
}

.footer-nav,
.footer-nav ul.footer-menu-list {
  display: flex;
  gap: 2.5rem;
}

.social-icons-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem; 
    align-items: center; 
}

.social-icons-list li {
    display: flex; 
}

.social-icons-list a {
    color: var(--prawie-czarny);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;  
    height: 24px; 
}

.social-icons-list svg {
    fill: currentColor; 
    display: block;
    width: 100%; 
    height: 100%;
    object-fit: contain; 
}

.social-icons-list a[href*="facebook"] svg {
    transform: translateX(-6px) scale(1.04); 
}

.social-icons-list a[href*="linkedin"] svg {
    transform: scale(1.18); 
}

/* ==========================================================================
   SEKCJA RWD (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1439px) {
    .hero-section {
        padding: 7.5rem 2.5rem 15rem;
    }

    .hero-section .hero-main-text {
        font-size: 5.75rem;
    }

    .hero-section .hero-description {
      font-size: 2.25rem;
      margin: .75rem 0 0;
    }

    .hero-section .hero-image {
        left: calc(50% + 2.125rem);
    }

    .hero-section .hero-cta {
        right: 7.5rem;
    }

    .split-layout {
        gap: 2.5rem;
    }
}

@media (max-width: 1400px) {
    .hero-panel {
        padding: 5rem 7.5rem;
    }
}

@media (max-width: 1365px) {
    .hero-section-2 .container {
        padding: 0 5rem 7.5rem;
    }

    .page-template-page-oferta .hero-panel.audience-section {
        background-position: left 25% center;
    }

    .hero-panel.contact-section {
        background-position: left 50% center;
    }
}

@media (max-width: 1279px) {
  .media-archive-container {
    max-width: 51rem;
    margin: 0 auto;
  }
  .media-split-container {
    display: flex;
        flex-direction: column;
    gap: 5rem;
    padding: 0;
  }
  
    .media-column-left, .media-column-right {
    display: contents;
  }
  
  .media-item {
    width: 100%;
  }
}

@media (max-width: 1279px) {
  .hero-section {
    padding: 4rem 7.5rem 0;
  }

  .hero-section .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-areas:
      "title image"
      "desc  image";
    align-items: center;
    gap: 1rem;
  }

  .hero-section .hero-title-wrapper {
    grid-area: title;
    text-align: left;
    width: 100%;
    max-width: 30rem;
    padding-top: 0;
    z-index: 2;
  }

  .hero-section .hero-desc-wrapper {
    grid-area: desc;
    text-align: left;
    width: 100%;
    max-width: 30rem;
    align-self: start;
    z-index: 2;
    padding-bottom: 5rem;
  }

  .hero-section .hero-image,
  .hero-section.hero-en .hero-image {
    transform: none;
    left: auto;
    right: 7.5rem;
  }

  .hero-section .hero-main-text {
    font-size: 5.25rem; 
  }

  .hero-section .hero-description {
    font-size: 1.5rem;
    margin-top: 1rem;
    line-height: 1.3;
  }

  .hero-section .hero-description br {
    display: none;
  }

  .hero-section .hero-cta {
    position: absolute;
    bottom: -4.5rem;
    right: 4.5rem;
    transform: none;
    width: 9rem;
    height: 9rem;
    margin-top: 0;
  }

  .hero-panel {
    padding: 5rem 2.5rem;
   }

   .hero-panel.contact-section {
        background-position: left 55% center;
    }

   .hero-panel.contact-section .panel-content {
    text-align: left;
    width: 41rem;
   }

   .hero-panel.contact-section .panel-content p:not(:first-of-type) {
    padding-right: 6rem;
   }
}

@media (max-width: 1140px) {
    .hero-section {
        padding: 4rem 5rem 0;
    }

    .hero-section .hero-image,
  .hero-section.hero-en .hero-image {
        right: 5rem;
    }

    .hero-section-2 .container {
        padding: 0 0 7.5rem;
    }

    .panel-content {
        width: 35rem;
    }

    .hero-panel {
        background-position: left 66% center;
    }

    .page-template-page-oferta .hero-panel.audience-section {
        padding-right: 2.5rem;
    }

    .page-template-page-oferta .hero-panel.audience-section .panel-content {
        width: calc(50% + 5.75rem);
    }

    .page-template-page-oferta .hero-panel.audience-section p {
        font-size: 1.125rem;
        line-height: 1.5;
    }

    .recommendation-section .splide {
        padding: 0 4.75rem;
    }

    .splide__arrow--prev {
        left: .25em !important;
    }

    .splide__arrow--next {
        right: .25em !important;
    }

    .excerpt-desktop {
        display: none;
    }
    
    .excerpt-mobile {
        display: block;
    }

    .blog .blog-card-link,
    .page-template-page-projekty .blog-grid .blog-card-link {
      width: calc((100% - 2.5rem) / 2);
  }

    .featured-image-wrapper {
        width: calc(100% - 3rem);
    }

    .tags-cloud {
        line-height: 1.75; 
    }

    .tags-cloud a {
        margin-right: .5rem;
    }
}

@media (max-width: 1024px) {
  .section-subtitle:not(.text-large) {
    font-size: 2.25rem;
  }

  .hero-section {
    padding: 4rem 2.5rem 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-title-outline {
    font-size: 5rem;
  }

  .about-section::after {
    display: none;
  }
  .column-layout-content {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }
  .column-layout-text-block {
    max-width: 100%;
    padding: 0 2.5rem;
  }
  .blog-single-one-column,
  .media-archive-container {
    max-width: 100%;
    padding: 0 2.5rem 3.5rem;
  }
  .media-archive-container {
    padding-bottom: 0;
  }

  .home .column-layout.about-section .cta {
    position: relative;
    margin-top: 1.5rem;
    right: 0;
  }

  .blog-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
   }

   .blog-intro-col {
    grid-column: 1 / -1; 
    border-right: none;
    border-bottom: 1px solid var(--prawie-czarny);
    padding-right: 0;
    padding-bottom: 2rem;
   }
  
   .blog-card-title {
    font-size: 1.25rem;
   }
}

@media (max-width: 1023px) {  
  .hero-section .hero-image,
  .hero-section.hero-en .hero-image {
    right: 3rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .split-content,
  .newsletter-section .split-content {
    padding: 0;
  }

  .split-layout--reverse .split-content,
  .split-layout--reverse .split-image-wrapper {
    order: unset; 
  }
  .split-image-wrapper {
    order: -1; 
    aspect-ratio: 1/1;
  }

  .page-template-page-kontakt .split-layout--reverse .split-image-wrapper {
    order: 2;
  }

  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .newsletter-image-wrapper {
    height: 25rem;
    order: 2; 
  }
  .newsletter-content {
    order: 1;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 1.75rem;
    text-align: center;
  }

  .footer-nav ul.social-icons-list {
    justify-content: center;
  }

  .hero-section-2 {
    padding-right: 0;
    padding-left: 0;
  }

  .hero-section-2 .container {
    padding-right: 2.5rem;
    padding-left: 2.5rem;
    overflow: hidden;
    }

  .hero-section-2 .section-title-outline {
    text-align: left;
    margin-bottom: 3.5rem;
  }

  .hero-section-2 .hero-desc-wrapper {
    padding-top: 0;
  }

  .hero-section-2 .hero-image {
    height: 100%;
    left: 52%;
  }
}

@media (max-width: 960px) {
    .hero-section .hero-main-text {
        font-size: 4.75rem;
    }

    .hero-section .hero-desc-wrapper {
        max-width: 25rem;
    }

   .hero-panel.contact-section {
        background-position: left 66% center;
    }

   .hero-panel.contact-section .panel-content {
        width: 28rem;
   }

   .hero-panel.contact-section .panel-content p:not(:first-of-type) {
        padding-right: 4rem;
   }

   .splide__arrows {
        display: none;
   }

   .recommendation-section .splide {
        padding: 0 1.25rem;
   }

   .splide__pagination__page {
    margin: 0 8px !important;
   }
}

@media (max-width: 905px) {
  .main-header { 
    flex-direction: row; 
    flex-wrap: wrap; 
    gap: 1.25rem;
    padding: 1.25rem;
    align-items: center;
  }
  
  .header-logo {
    margin-bottom: 0;
    flex-grow: 1; 
    font-size: 1.125rem;
  }

  .main-header::after {
    width: calc(100% - 2.5rem);
    left: 1.25rem;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
    width: 100%;
  }

  .main-nav.active {
    display: block; 
  }

  .main-nav ul {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0; 
    padding-top: 1.125rem;
    border-top: 1px solid transparent;
  }

  .main-nav.active ul {
    display: flex; 
    animation: slideDown 0.3s ease-out forwards;
  }

  .main-nav ul li {
    font-size: 1.125rem; 
    padding: 1rem 0; 
    display: block;
    width: 100%;
    text-align: center;
  }
  
  .main-nav ul li:last-child {
    border-bottom: none;
  }

  .main-nav ul li.lang-item + li.lang-item {
    margin-left: 0;
  }

  .hero-section {
    padding: 4rem 1.25rem 0;
  }

  .hero-section::after {
    width: calc(100% - 2.5rem);
    left: 1.25rem;
  }

  .hero-section .hero-image,
  .hero-section.hero-en .hero-image {
    right: 2.5rem;
  }

  .hero-section .hero-cta {
    right: auto;
    left: 12.5rem;
  }

  .panel-content {
    width: 28rem;
  }
}

@media (max-width: 885px) {
    .hero-section .hero-image,
  .hero-section.hero-en .hero-image {
        right: 1.25rem;
    }

    .hero-section .hero-desc-wrapper {
        max-width: 20rem;
    }

    .hero-section-2 .hero-desc-wrapper,
    .page-template-page-oferta .hero-section-2 .hero-desc-wrapper {
        max-width: 25rem;
    }

    .page-template-page-oferta .hero-section-2 .hero-description {
        max-width: 22rem;
    }

    .hero-section-2 .hero-description {
        font-size: 1.25rem;
        line-height: 1.3;
        font-weight: 500;
    }

    .text-large {
        font-size: 2.5rem;
    }

    .media-layout-horizontal {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "image"
            "desc";            
        gap: 1.25rem;
    }
}

@media (max-width: 800px) {
    .hero-section .hero-desc-wrapper {
        max-width: 21rem;
    }

    .hero-section .hero-main-text {
        font-size: 3.75rem;
    }

    .hero-section .hero-description {
        font-size: 1.25rem;
    }

    .cta,
    .hero-section .hero-cta { 
      order: 4; 
      width: 7.5rem;
      height: 7.5rem;
    }

    .hero-section .hero-cta {
      bottom: -3.75rem;
      left: 7.5rem;
    }

    .page-template-page-oferta .services-section {
      margin-bottom: 3.75rem;
    }

    .page-template-page-oferta .services-section .cta {
        bottom: -3.75rem;
    }

    .cta-text { font-size: 1.125rem; }

    .hero-section-2 .hero-cta {
        bottom: -3.75rem;
    }

    .cta-text.sm {
        font-size: .75rem;
        font-weight: 600;
    }
}

@media (max-width: 768px) {
  .site-wrapper {
    padding: 0;
  }
  .page-container {
    border: none; 
  }
  .section-standard, 
  .column-layout-content, 
  .blog-section,
  .newsletter-section,
  .services-section,
  .main-footer,
  .hero-panel.contact-section,
  .blog-single-one-column,
  .media-archive-container {
    padding-left: 1.25rem;  
    padding-right: 1.25rem; 
  }

  .column-layout {
    padding-right: 0;
    padding-left: 0;
  }

  .border-bottom::after {
    width: calc(100% - 2.5rem);
    height: 1px;
    left: 1.25rem;
  }

  .section-title-outline {
    font-size: 3rem; 
    margin-bottom: 3rem;
  }

  .section-subtitle:not(.text-large) {
    font-size: 1.8rem;
  }

  .services-grid, 
  .newsletter-grid, 
  .split-layout {
    gap: 3rem; 
  }
  .blog-grid-2 {
    gap: 3rem 1.25rem; 
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .split-image-wrapper, 
  .newsletter-image-wrapper {
    min-height: 250px; 
    height: auto;
    aspect-ratio: 1/1; 
  }

  .newsletter-section {
    padding-top: 6rem;
  }

  .newsletter-section .section-title-outline {
    text-align: center;
  }

  .column-layout-text-block {
    padding: 0;
  }

  .column-layout-image {
    margin-top: -2.5rem;
  }

  .hero-section-2 .container {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
    overflow: visible;
   }

   .hero-section-2 .hero-image {
    height: calc(100% + 2.5rem);
    left: 50%;
   }

    .page-template-page-oferta .hero-panel.audience-section {
        padding-right: 1.25rem;
    }

    .page-template-page-oferta .hero-panel.audience-section .panel-content {
        width: calc(50% + 5.1rem);
    }

    .blog-top-section {
        flex-direction: column;
    }

    .blog .widget-box:first-of-type,
    .full-width-widget { 
        display: none;
    }

    .single-footer-widgets {
        padding-top: 6rem;
    }

    .blog-grid-2 {
        grid-template-columns: 1fr;
    }

    .blog-top-section,
    .blog-grid {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .blog-top-section {
        gap: 4rem;
    }

    .blog-grid {
        flex-direction: column;
        gap: 1.25rem;
    }

    .blog .blog-card-link,
    .page-template-page-projekty .blog-grid .blog-card-link {
      width: 100%;
    }

    .featured-post {
        width: 100%;
    }

    .featured-image-wrapper {
        width: calc(50% - 4.25rem);
    }

    .excerpt-desktop {
        display: block;
    }

    .excerpt-mobile {
        display: none;
    }
}

@media (max-width: 719px) {
    .home .main-header:not(.header-en),
    .home .hero-section:not(.hero-en),
    .page-template-page-oferta .main-header {
        background: #dadfe2;
    }

    .hero-section::after {
        display: none;
        background-color: #dadfe2;
    }

    .hero-section .hero-image,
  .hero-section.hero-en .hero-image {
      right: auto;
      left: 50%;
      top: 1.5rem;
      height: calc(100% - 1.5rem);
    }

    .text-large {
        font-size: 2.25rem;
    }

    .hero-section-2 .container {
        padding-bottom: 6rem;
    }

    .hero-section-2 .hero-desc-wrapper {
        max-width: 24rem;
    }

    .page-template-page-oferta .hero-section-2 .hero-desc-wrapper {
        max-width: 19rem;
    }

    .page-template-page-oferta .hero-section-2 .hero-description {
        max-width: 18rem;
    }

    .hero-section-2 .hero-description br {
        display: block;
    }

    .hero-section-2 .hero-image {
        left: 42%;
    }

    .page-template-page-oferta .hero-panel.audience-section {
        background-position: left 27% center;
        padding-top: 8.75rem;
        padding-bottom: 5rem;
    }

    .hero-panel.contact-section {
        background-position: left 68% center;
    }

    body:not(.page-template-page-projekty) .hero-panel.contact-section .panel-content p:not(:first-of-type) {
        padding-right: 9rem;
    }

    .hero-panel.contact-section .panel-content .cta {
        margin-left: 0;
    }
}

@media (max-width: 650px) {
    .hero-section .hero-image,
  .hero-section.hero-en .hero-image {
        right: 1.25rem;
    }

    .hero-section .hero-desc-wrapper {
        max-width: 17rem;
    }

    .text-large {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-section-2 .hero-description {
        margin-top: 1.25rem;
    }

    .hero-section-2 .hero-image {
        left: 45%;
    }

    .page-template-page-o-mnie .hero-panel.bio-section,
    .page-template-page-oferta .hero-panel.audience-section,
    .hero-panel.contact-section {
        background: none !important;
        margin-bottom: 0;
        padding-top: 0;
        display: block;
    }

    .page-template-page-o-mnie .hero-panel.bio-section .panel-content,
    .page-template-page-oferta .hero-panel.audience-section .panel-content,
    .hero-panel.contact-section .panel-content {
        width: 100%;
    }

    body:not(.page-template-page-projekty) .hero-panel.contact-section .panel-content p:not(:first-of-type),
    .hero-panel.contact-section .panel-content p:not(:first-of-type) {
        padding-right: 0;
    }

    .page-template-page-o-mnie .hero-panel.bio-section .panel-image {
        background: url(img/about__bio-image.jpg) no-repeat;
        background-size: cover;
        background-position: top right 8%;
        position: relative;
        width: 100%;
        margin-bottom: 3rem;
    }

    .page-template-page-oferta .hero-panel.audience-section .panel-image {
        background: url(img/offer__audience-image.jpg) no-repeat;
        background-size: cover;
        background-position: top left;
        position: relative;
        width: 100%;
        margin-bottom: 3rem;
    }

    .hero-panel.contact-section .panel-image {
        background: url(img/offer__contact-image.jpg) no-repeat;
        background-size: cover;
        background-position: top right 3%;
        position: relative;
        width: 100%;
        margin-bottom: 3rem;
    }

    .page-template-page-projekty .hero-panel.contact-section .panel-image {
        background: url(img/projects__contact-image.jpg) no-repeat;
        background-size: cover;
        background-position: top right 7%;
      }

    .page-template-page-o-mnie .hero-panel.bio-section .panel-image::before,
    .page-template-page-oferta .hero-panel.audience-section .panel-image::before,
    .hero-panel.contact-section .panel-image::before {
        content: '';
        display: block;
        padding-bottom: 100%;
    }

    .hero-panel.contact-section .panel-content .cta {
        margin-left: auto;
        margin-right: auto;
    }

    .page-template-page-oferta .hero-section-2 {
        background: #dadfe2;
    }

    .page-template-page-oferta .hero-panel.audience-section {
        padding: 6rem 1.25rem 0;
    }

    .page-template-page-oferta .hero-panel.audience-section .panel-image {
        margin-top: 3rem;
        margin-bottom: 0;
    }

    .featured-post {
        background-color: #cbd0d4;
        padding: 1.5rem;
    }

    .featured-image-wrapper {
        float: none;
        width: 100%;
        margin: 0;
    }

    .featured-content {
        background: none;
        padding: 1.25rem 0 0;
    }
}

@media (max-width: 520px) {
    .home .main-header:not(.header-en),
    .hero-section:not(.hero-en),
    .page-template-page-oferta .hero-section-2 {
        background-color: #dadfe2;
    }
    .hero-section {
        padding: 3rem 1.25rem 0;
    }

    .hero-section::after {
        display: none;
    }

    .hero-section .hero-main-text {
        font-size: 2.25rem;
        line-height: 1.1;
    }

    .hero-section .hero-desc-wrapper {
        max-width: 12rem;
        padding-bottom: 4rem;
    }

    .text-large {
        font-size: 1.5rem;
    }

    .page-template-page-oferta .hero-section-2 .section-subtitle:not(.text-large) {
        font-size: 1.25rem;
    }

    .services-section .section-subtitle,
    .recommendation-section .section-subtitle {
        margin-bottom: 2.5rem;
    }

    .hero-panel.contact-section .panel-content h2 {
        margin-bottom: 0;
    }

    .hero-section .hero-description,
    .hero-section-2 .hero-description {
        font-size: 1rem;
    }

    .page-template-page-oferta .hero-section-2 .hero-description {
        font-size: .925rem;
        line-height: 1.4;
    }

    .page-template-page-oferta .hero-section-2 .hero-desc-wrapper {
        max-width: 15.5rem;
    }

    .page-template-page-oferta .hero-section-2 .hero-description {
        max-width: 7rem;
    }

    .page-template-page-oferta .hero-section-2 .hero-image {
        left: 43%;
    }

    .hero-section .hero-image,
  .hero-section.hero-en .hero-image {
      right: auto;
      left: 42%;
      top: 1.5rem;
      height: calc(100% - 1.5rem);
    }

    .hero-section .hero-cta {
        left: 5rem;
    }

    .hero-section-2 {
        padding-top: 3rem;
    }

    .hero-section-2 .container {
        padding-bottom: 4rem;
    }

    .hero-section-2 .hero-desc-wrapper {
        max-width: 14rem;
    }

    .hero-section-2 .hero-image {
        left: 45%;
        height: calc(100% + 1.25rem);
    }

    .page-template-page-oferta .hero-section-2 .hero-image {
        left: 28%;
        height: calc(100% + .75rem);
    }

    .page-template-page-o-mnie .column-layout-image {
        margin-top: 0;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .blog-title,
    .project-header {
        padding: 3rem 0;
    }

    .page-template-page-kontakt .newsletter-section {
        padding-top: 3rem;
    }

    .page-template-page-kontakt .newsletter-section .section-title-outline {
        margin-bottom: 2.25rem;
    }

    .single-title {
        margin-bottom: 1.25rem;
    }

    .archive-title {
        text-align: center;
        padding: 3rem 1.25rem;
    }

    .featured-post {
        background-color: #cbd0d4;
        padding: 1.5rem;
    }

    .blog-grid {
        gap: 1.25rem;
    }

    .excerpt-desktop {
        display: none;
    }
    
    .excerpt-mobile {
        display: block;
    }

    .single-bottom-grid {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }

    .single-bottom-grid .widget-box.archive-box {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section .hero-image,
  .hero-section.hero-en .hero-image {
        left: 45%;
    }
}

@media (max-width: 430px) {
    .hero-section .hero-main-text {
        font-size: 2.125rem;
    }

    .hero-section .hero-desc-wrapper,
    .hero-section-2 .hero-description {
        max-width: 8rem;
    }

    .hero-section .hero-image,
    .hero-section-2 .hero-image,
  .hero-section.hero-en .hero-image {
      left: 34%;
    }

    .hero-section .hero-cta {
        right: 0;
        left: 0;
        margin: 0 auto;
    }

    .hero-section-2 .hero-description br {
        display: none;
    }

    .blog-grid,
    .blog-grid-2 {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .blog-intro-col {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .blog-grid,
    .blog-grid-2 {
        margin-bottom: 3rem;
    }

    .column-layout-image {
        margin-top: 0;
    }

    .hero-section-2 .section-title-outline {
        margin-bottom: 2rem;
    }
}

@media (max-width: 375px) {
    .hero-section .hero-desc-wrapper {
        max-width: 7rem;
    }

    .hero-section .hero-image,
  .hero-section.hero-en .hero-image {
      left: 34%;
    }

    .page-template-page-oferta .hero-section-2 .hero-image {
        left: 28%;
        height: 100%;
    }
}