:root {
  --kkn-bg: #ffffff;
  --kkn-gold: #c8a24a;
  --kkn-black: #1a1a1a;
  --kkn-gray: #e0e0e0;
  --p-white: #ffffff;
  --p-black: #1a1a1a;
  --p-gold: #c8a24a;
  --p-red-logo: #d11f1f;
  --p-text-dark: #1a1a1a;
  --p-line: #e5e5e5;
  --p-dark: #111111;
  --p-gray: #f4f4f4;
  --p-text-muted: #666;
  --kk-footer-bg: #111111;
  --kk-footer-gold: #c8a24a;
  --kk-footer-white: #ffffff;
  --kk-footer-gray: #a0a0a0;
  --kk-footer-line: #333333;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: 90px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}

.kk-nav-wrapper {
  width: 100%;
  background-color: var(--kkn-bg);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  margin: 0;
  padding: 0;
}

.kk-nav-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.kkn-left-side {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.kkn-logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  margin-right: 50px;
  flex-shrink: 0;
}

.kkn-logo-img {
  height: 65px;
  width: auto;
  display: block;
}

.kkn-desktop-nav {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.kkn-desktop-nav li {
  list-style: none;
}

.kkn-desktop-nav a {
  text-decoration: none;
  color: var(--kkn-black);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: 0.3s ease;
  white-space: nowrap;
}

.kkn-desktop-nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--kkn-gold);
  transition: 0.3s ease;
}

.kkn-desktop-nav a:hover {
  color: var(--kkn-gold);
}

.kkn-desktop-nav a:hover::after {
  width: 100%;
}

.kkn-right-side {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.kkn-tel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  height: 45px;
  border: 1px solid var(--kkn-gray);
  text-decoration: none;
  transition: 0.3s ease;
  background: transparent;
  box-sizing: border-box;
}

.kkn-tel-btn span {
  font-size: 15px;
  font-weight: 700;
  color: var(--kkn-black);
  white-space: nowrap;
}

.kkn-tel-btn:hover {
  background-color: var(--kkn-black);
  border-color: var(--kkn-black);
}

.kkn-tel-btn:hover span {
  color: #ffffff;
}

.kkn-hamburger {
  display: none;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid var(--kkn-gray);
  width: 45px;
  height: 45px;
  border-radius: 4px;
  position: relative;
}

.kkn-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--kkn-black);
  position: absolute;
  left: 11px;
  transition: 0.3s ease;
}

.kkn-hamburger span:nth-child(1) {
  top: 14px;
}

.kkn-hamburger span:nth-child(2) {
  top: 21px;
}

.kkn-hamburger span:nth-child(3) {
  top: 28px;
}

.kkn-hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 21px;
}

.kkn-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.kkn-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 21px;
}

.kkn-mobile-overlay {
  position: fixed;
  top: 70px;
  right: -110%;
  width: 300px;
  height: calc(100vh - 70px);
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
  padding: 30px;
  z-index: 9998;
}

.kkn-mobile-overlay.active {
  right: 0;
}

.kkn-mob-link {
  text-decoration: none;
  color: var(--kkn-black);
  font-size: 16px;
  font-weight: 600;
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.kkn-mob-tel {
  margin-top: 20px;
  background: var(--kkn-black);
  color: #ffffff;
  text-align: center;
  padding: 18px;
  border-radius: 4px;
  font-weight: 700;
}

.site-main {
  min-height: 60vh;
  flex: 1 0 auto;
}

.hero-porsche {
  position: relative;
  background: var(--p-white);
  font-family: "Inter", sans-serif;
  margin-top: 0;
  padding-top: 0;
  overflow: visible;
}

.hero-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.hero-accent-line {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 50%;
  width: 0;
  background: var(--p-gold);
  z-index: 1;
  animation: fillLeftOnly 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.5s;
}

@keyframes fillLeftOnly {
  from {
    width: 0;
  }
  to {
    width: 100vw;
  }
}

.hero-img-side {
  background: url("../images/hero-bg.jpg") center/cover no-repeat;
  z-index: 5;
  position: relative;
}

.hero-text-side {
  padding: 60px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  z-index: 10;
  position: relative;
}

.hero-text-side .kicker {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  text-transform: none;
  margin-bottom: 35px;
  line-height: 1.2;
}

.kicker .text-red,
.kicker .text-red-sub {
  color: var(--p-red-logo);
  display: block;
  font-weight: 800;
}

.kicker .text-red-sub {
  margin-bottom: 8px;
}

.kicker .text-gold {
  color: var(--p-gold);
  display: block;
  font-size: 26px;
  font-weight: 700;
  padding-top: 0;
}

.hero-text-side h1 {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  line-height: 1.1;
  margin: 0 0 25px 0;
  font-weight: 700;
  color: var(--p-black);
}

.hero-text-side p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--p-text-dark);
  margin-bottom: 35px;
}

.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 35px;
  background: var(--p-black);
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid var(--p-black);
  transition: all 0.4s ease;
  width: fit-content;
}

.btn-main:hover {
  background: transparent;
  border-color: var(--p-gold);
  color: var(--p-black);
}

.info-bar {
  border-top: 1px solid var(--p-line);
  background: #fff;
  position: relative;
  z-index: 20;
}

.info-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.info-tile {
  padding: 40px 30px;
  border-right: 1px solid var(--p-line);
}

.info-grid .info-tile:last-child {
  border-right: none;
}

.info-tile b {
  font-family: "Playfair Display", serif;
  font-size: 25px;
  margin-bottom: 10px;
  display: block;
  color: var(--p-black);
}

.info-tile span {
  font-size: 14px;
  color: var(--p-text-dark);
}

.services-premium-wrapper {
  background-color: #ffffff;
  width: 100%;
  transition: background-color 0.8s ease;
}

.services-premium {
  padding: 100px 20px;
  max-width: 1440px;
  margin: 0 auto;
  font-family: "Inter", sans-serif;
}

.services-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: #1a1a1a;
  transition: color 0.6s ease;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #e5e5e5;
  transition: border-color 0.6s ease;
}

.service-item {
  padding: 60px;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: all 0.6s ease;
}

.service-item h3 {
  font-family: "Playfair Display", serif;
  font-size: 25px;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  transition: color 0.6s ease;
}

.service-item p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 35px;
  transition: color 0.6s ease;
}

.service-item .num {
  font-size: 14px;
  color: #c8a24a;
  font-weight: 700;
  margin-bottom: 25px;
}

.more-link {
  color: #1a1a1a;
  transition: color 0.6s ease;
  font-weight: 600;
}

.services-premium-wrapper.is-dark {
  background-color: #1a1a1a;
}

.is-dark .services-header h2,
.is-dark .service-item h3,
.is-dark .more-link {
  color: #ffffff;
}

.is-dark .service-item p {
  color: #cccccc;
}

.is-dark .services-grid,
.is-dark .service-item {
  border-color: #333;
}

.is-dark .service-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.about-section {
  background-color: #ffffff;
  padding: 100px 20px;
  font-family: "Inter", sans-serif;
}

.about-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mobile-header {
  display: none;
  margin-bottom: 30px;
  text-align: center;
}

.about-gallery {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
}

.about-gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40px;
  width: 80px;
  height: 2px;
  background-color: #c8a24a;
}

.img-large {
  width: 85%;
  height: 500px;
  background: url("../images/about-large.jpg") center/cover no-repeat;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.img-small {
  position: absolute;
  width: 45%;
  height: 300px;
  bottom: 20px;
  right: 0;
  background: url("../images/about-small.jpg") center/cover no-repeat;
  border: 12px solid #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  z-index: 3;
}

.about-content {
  padding-left: 20px;
}

.about-section .kicker {
  font-size: 14px;
  color: #c8a24a;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
  display: block;
}

.about-content h2,
.mobile-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 30px;
  color: #1a1a1a;
  font-weight: 600;
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 25px;
}

.experience-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.experience-badge .years {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  color: #1a1a1a;
  font-weight: 700;
}

.experience-badge .text {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  font-weight: 700;
  line-height: 1.4;
}

.lawyer-section {
  padding: 120px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Inter", sans-serif;
}

.lawyer-card-container {
  border: 1px solid rgba(200, 162, 74, 0.3);
  padding: 80px;
  position: relative;
  background: transparent;
  transition: border-color 0.8s ease;
}

body.dark-mode-active .lawyer-card-container {
  border-color: rgba(200, 162, 74, 0.5);
}

.lawyer-card-container::before,
.lawyer-card-container::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid var(--p-gold);
}

.lawyer-card-container::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.lawyer-card-container::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.lawyer-header {
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(200, 162, 74, 0.2);
  padding-bottom: 40px;
}

.lawyer-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.experience-tag {
  font-size: 16px;
  color: var(--p-gold);
  font-family: "Playfair Display", serif;
  font-style: italic;
}

.lawyer-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.lawyer-bio-main p {
  font-size: 16px;
  line-height: 2;
  margin: 0;
  opacity: 0.9;
}

.info-block {
  margin-bottom: 40px;
}

.info-block h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--p-gold);
  margin-bottom: 20px;
  font-weight: 600;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.info-list li::before {
  content: "-";
  margin-right: 15px;
  color: var(--p-gold);
}

.lawyer-footer-contact {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(128, 128, 128, 0.2);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-link {
  font-size: 16px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

.contact-link:hover {
  color: var(--p-gold);
}

.address-info {
  font-size: 14px;
  opacity: 0.8;
  letter-spacing: 0.5px;
}

#blog.news-section {
  padding: 56px 0 40px;
  background: #ffffff;
  font-family: "Inter", sans-serif;
}

body.dark-mode-active #blog.news-section {
  background: #ffffff;
  color: var(--p-black);
}

/* Ta sama szerokość co menu / inne sekcje (kk-nav-container): 1440px + padding 40px */
.news-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ececec;
}

.news-top-label {
  color: var(--p-gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.news-header h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 2.5vw, 30px);
  margin: 0;
  color: var(--p-black);
  line-height: 1.2;
  font-weight: 700;
}

/* Mobile / tablet: karuzela pozioma */
.news-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  justify-content: flex-start;
  padding-bottom: 6px;
  cursor: grab;
}

.news-grid::-webkit-scrollbar {
  display: none;
}

.news-grid.news-grid--dragging {
  cursor: grabbing;
  user-select: none;
}

@media (min-width: 1200px) {
  .news-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px 18px;
    overflow-x: hidden;
    scroll-snap-type: none;
    padding-bottom: 0;
    cursor: default;
  }

  .news-grid.news-grid--dragging {
    cursor: default;
  }
}

@media (max-width: 1199px) {
  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .news-card {
    min-width: min(260px, 82vw);
    max-width: min(260px, 82vw);
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

.news-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease, transform 0.25s ease, border-color 0.2s ease;
}

.news-link-wrapper {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
  border-color: #d8d8d8;
}

.news-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #eaeaea 0%, #f6f6f6 100%);
  flex-shrink: 0;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.news-card:hover .news-card__media img {
  transform: scale(1.04);
}

.news-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: linear-gradient(135deg, #e8e4dc 0%, #f2efe8 50%, #e5e1d8 100%);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 14px 14px 16px;
  min-height: 0;
}

.news-date {
  font-size: 10px;
  color: var(--p-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
  font-weight: 600;
}

.news-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 0 0 12px;
  color: var(--p-black);
  min-height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.3s ease;
  flex: 1 1 auto;
  font-weight: 600;
}

.news-card:hover h3 {
  color: var(--p-gold);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--p-black);
  gap: 8px;
  transition: color 0.3s ease;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.news-header .arrow-link {
  color: var(--p-black);
}

body.dark-mode-active .news-header .arrow-link {
  color: var(--p-black);
}

.news-header .arrow-link span {
  font-size: 13px;
}

.news-card-more .arrow-link span,
.news-card-more span {
  font-size: 12px;
}

.arrow-link span {
  position: relative;
  padding-bottom: 2px;
  font-size: 13px;
  font-weight: 600;
}

.arrow-link span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--p-gold);
  transition: width 0.4s ease;
}

.arrow-link:hover span::after {
  width: 100%;
}

.arrow-icon {
  width: 15px;
  height: 15px;
  transition: transform 0.3s ease;
  stroke: var(--p-gold);
  fill: none;
}

.news-card-more .arrow-icon {
  width: 14px;
  height: 14px;
}

.arrow-link:hover .arrow-icon {
  transform: translateX(6px);
}

.news-card-more {
  margin-top: auto;
  padding-top: 8px;
  align-self: flex-start;
  pointer-events: none;
}

.news-card-more span::after {
  display: none;
}

.news-empty {
  text-align: center;
  color: #666;
  margin: 0;
  padding: 40px 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-section {
  padding: 52px 24px 48px;
  background-color: #ffffff;
  font-family: "Inter", sans-serif;
}

body.dark-mode-active .footer-section {
  background-color: #ffffff;
  color: var(--p-black);
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
}

.footer-section .contact-card {
  background-color: var(--p-black);
  color: var(--p-white);
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 500px;
}

.footer-section .contact-card h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  margin-bottom: 40px;
  color: var(--p-white);
}

.footer-section .contact-card .info-block {
  margin-bottom: 35px;
}

.footer-section .contact-label {
  display: block;
  text-transform: uppercase;
  color: var(--p-gold);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-section .contact-card .info-block p,
.footer-section .contact-card .info-block a {
  font-size: 16px;
  color: var(--p-white);
  text-decoration: none;
  line-height: 1.6;
  display: block;
}

.footer-section .contact-firm-name {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--p-white);
}

.footer-section .formatted-numbers {
  font-size: 14px;
  letter-spacing: 1px;
  color: #e0e0e0;
}

.footer-section .contact-phone {
  margin-bottom: 5px;
}

.footer-section .form-wrapper h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  margin-bottom: 40px;
  color: var(--p-black);
}

.contact-notice {
  padding: 14px 18px;
  margin: 0 0 24px 0;
  font-size: 15px;
  line-height: 1.5;
  border-radius: 4px;
}

.contact-notice--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.contact-notice--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.modern-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer-section .form-group {
  display: flex;
  flex-direction: column;
}

.footer-section .form-group.full-width {
  grid-column: span 2;
}

.footer-section .modern-form input,
.footer-section .modern-form textarea {
  padding: 15px 0;
  border: none;
  border-bottom: 1px solid #ddd;
  background: transparent;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
  border-radius: 0;
  color: var(--p-black);
}

.footer-section .modern-form input:focus,
.footer-section .modern-form textarea:focus {
  border-bottom-color: var(--p-gold);
}

.footer-section .btn-send {
  grid-column: span 2;
  background-color: var(--p-black);
  color: var(--p-white);
  border: none;
  padding: 20px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 20px;
}

.footer-section .btn-send:hover {
  background-color: var(--p-gold);
}

/* Mapa Google — pełna szerokość, styk z ciemną stopką kk-footer */
.home-map-strip {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #dcdfe4;
  display: block;
}

.home-map-strip__frame {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  margin: 0;
  vertical-align: top;
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .footer-section .contact-card {
    min-height: auto;
    order: 1;
  }

  .footer-section .form-wrapper {
    order: 2;
  }

  .footer-section .modern-form {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-section .form-group.full-width,
  .footer-section .btn-send {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .footer-section .contact-card {
    padding: 40px 25px;
  }

  .footer-section {
    padding: 44px 20px 40px;
  }

  .home-map-strip__frame {
    height: 280px;
  }
}

.content-list,
.page-content {
  padding: 48px 0;
}

/* Strona główna: mniejsza przerwa między blogiem a blokiem Kontakt/Zaplanuj konsultację */
#blog.news-section + .page-content {
  padding: 22px 0;
}

.page-content .content-list {
  padding: 0;
}

.blog-header {
  margin-bottom: 24px;
}

.content-card {
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
}

.blog-page {
  background: #ffffff;
}

/* Szerokość jak menu / sekcje na one-page: wyśrodkowany blok 1440px, ten sam padding poziomy */
.blog-page__shell {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* Nagłówek listy bloga: okruszki + tytuł — bez ostrej linii na mobile (zastąpione delikatnym tłem) */
.blog-page__masthead {
  background: linear-gradient(180deg, #f8f7f4 0%, #ffffff 55%);
}

.blog-page__shell--crumbs {
  padding-top: 10px;
  padding-bottom: 8px;
}

.blog-page__breadcrumbs {
  margin: 0;
}

.blog-page__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(228, 224, 216, 0.85);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  width: fit-content;
  max-width: 100%;
}

.blog-page__crumbs-item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  font-size: 12px;
  line-height: 1.35;
}

.blog-page__crumbs-item + .blog-page__crumbs-item::before {
  content: "›";
  padding: 0 0.45rem 0 0.35rem;
  color: #b9b3a8;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
}

.blog-page__crumbs-link {
  color: #4a4d52;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.blog-page__crumbs-link:hover {
  color: var(--p-gold, #9a7640);
  border-bottom-color: rgba(154, 118, 64, 0.35);
}

.blog-page__crumbs-current {
  font-weight: 600;
  color: #1a1d22;
  overflow-wrap: anywhere;
  max-width: min(72vw, 100%);
}

.blog-page__hero {
  padding: 10px 0 18px;
  border-bottom: none;
}

.blog-page__eyebrow {
  color: var(--p-gold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.blog-page__hero h1 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.65rem, 2.75vw, 2.125rem);
  line-height: 1.18;
  color: #1a1a1a;
}

.blog-page__hero .blog-page__lead {
  margin: 0;
  max-width: 720px;
  color: #555;
  line-height: 1.7;
}

.blog-page__content {
  padding: 16px 0 44px;
}

.blog-page__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  width: 100%;
}

.blog-page__sidebar {
  display: none;
}

.blog-page__main {
  min-width: 0;
  width: 100%;
}

/* Telefony / tablety: dwa kafelki na rząd — mniejsze odstępy i czcionki */
.blog-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 8px;
  justify-items: stretch;
  width: 100%;
}

@media (min-width: 520px) {
  .blog-page__grid {
    gap: 16px 12px;
  }
}

@media (min-width: 1024px) {
  .blog-page__masthead {
    background: #ffffff;
    border-bottom: 1px solid #ececec;
  }

  .blog-page__shell--crumbs {
    padding-top: 14px;
    padding-bottom: 4px;
  }

  .blog-page__crumbs {
    padding: 6px 14px;
    background: #fafaf8;
    border-color: #e8e4dc;
  }

  .blog-page__crumbs-current {
    max-width: 340px;
  }

  .blog-page__hero {
    padding: 12px 0 22px;
    border-bottom: none;
  }

  .blog-page__content {
    padding: 20px 0 72px;
  }

  .blog-page__layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 24px 28px;
    justify-content: space-between;
  }

  .blog-page__sidebar.blog-page__sidebar--desktop {
    display: block;
    position: sticky;
    top: 110px;
    border-left: 1px solid #ececec;
    padding-left: 28px;
    margin: 0;
    min-width: 0;
  }

  .blog-page__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .blog-page__sidebar h3 {
    font-size: 1.22rem;
  }

  .blog-post-card__thumb,
  .blog-post-card__thumb-placeholder {
    aspect-ratio: 4 / 3;
  }

  .blog-post-card__body {
    padding: 11px 12px 14px;
    gap: 6px;
  }

  .blog-post-card__title {
    font-size: 1.02rem;
  }

  .blog-post-card__excerpt {
    font-size: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
  }

  .blog-post-card__date {
    font-size: 11px;
  }

  .blog-post-card__link {
    font-size: 13px;
  }
}

.blog-post-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-post-card:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.blog-post-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #eaeaea 0%, #f6f6f6 100%);
}

.blog-post-card__thumb-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 180px;
  background: linear-gradient(135deg, #e8e4dc 0%, #f2efe8 50%, #e5e1d8 100%);
}

.blog-post-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-post-card:hover .blog-post-card__image {
  transform: scale(1.03);
}

.blog-post-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 0 auto;
}

.blog-post-card__date {
  color: var(--p-gold);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-post-card__title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  line-height: 1.3;
}

.blog-post-card__title a {
  color: #1a1a1a;
  text-decoration: none;
}

.blog-post-card__excerpt {
  color: #555;
  line-height: 1.65;
  font-size: 14px;
  margin-bottom: 6px;
}

.blog-post-card__link {
  margin-top: auto;
  color: var(--p-gold);
  font-weight: 700;
}

@media (max-width: 1023px) {
  .blog-post-card__thumb-placeholder {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .blog-post-card__body {
    padding: 11px 9px 12px;
    gap: 5px;
  }

  .blog-post-card__date {
    font-size: 10px;
    letter-spacing: 0.5px;
  }

  .blog-post-card__title {
    font-size: 0.82rem;
    line-height: 1.28;
  }

  .blog-post-card__title a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .blog-post-card__excerpt {
    font-size: 11px;
    line-height: 1.45;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .blog-post-card__link {
    margin-top: 4px;
    font-size: 11px;
  }
}

.blog-page__pagination {
  margin-top: 28px;
}

@media (min-width: 1024px) {
  .blog-page__pagination {
    margin-top: 36px;
  }
}

.blog-page__pagination-arrows .nav-links,
.blog-page__pagination-arrows ul.page-numbers {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-page__pagination-arrows ul.page-numbers li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-page__pagination-arrows .nav-links .page-numbers,
.blog-page__pagination-arrows ul.page-numbers a.page-numbers,
.blog-page__pagination-arrows ul.page-numbers span.page-numbers {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  color: #1a1a1a;
  text-decoration: none;
  padding: 0 12px;
  border-radius: 6px;
  box-sizing: border-box;
}

.blog-page__pagination-arrows span.page-numbers.current,
.blog-page__pagination-arrows a.page-numbers.current,
.blog-page__pagination-arrows a.page-numbers:hover {
  border-color: var(--p-gold);
  color: var(--p-gold);
}

.blog-page__sidebar h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
}

.blog-page__sidebar-intro {
  margin: 0 0 20px;
  font-size: 12px;
  line-height: 1.55;
  color: #666;
}

@media (min-width: 1024px) {
  .blog-page__sidebar h3 {
    margin: 0 0 10px;
  }
}

.blog-page__popular-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-page__popular-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-popular-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.blog-popular-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  border-color: #d4d4d4;
  transform: translateY(-1px);
}

.blog-popular-card__media {
  flex-shrink: 0;
  width: 104px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, #eaeaea 0%, #f4f4f4 100%);
}

.blog-popular-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-popular-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 72px;
  background: linear-gradient(135deg, #e8e4dc 0%, #f0ebe3 100%);
}

.blog-popular-card__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.blog-popular-card__title {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.blog-popular-card:hover .blog-popular-card__title {
  color: var(--p-gold);
}

.blog-popular-card__excerpt {
  font-size: 12px;
  line-height: 1.5;
  color: #666;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Polityka prywatności (szablon page-polityka-prywatnosci.php) ─── */
.privacy-policy-page--theme {
  background: linear-gradient(180deg, #fafaf9 0%, #ffffff 22%);
  border-bottom: 1px solid #ececec;
}

.privacy-policy-page__shell {
  max-width: min(760px, 100%);
  margin: 0 auto;
  padding: 28px 24px 64px;
  box-sizing: border-box;
}

.privacy-policy-page__header {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 117, 0.35);
}

.privacy-policy-page__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--p-gold, #af8f5c);
}

.privacy-policy-page__title {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--p-black, #1c1f23);
}

.privacy-policy-page__meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #5c5f64;
}

.privacy-policy-page__intro {
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.75;
  color: #3a3d43;
}

.privacy-policy-page__toc {
  margin: 0 0 34px;
  padding: 20px 22px;
  border: 1px solid #ebe7df;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.035);
}

.privacy-policy-page__toc h2 {
  margin: 0 0 14px;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: #1a1a1a;
}

.privacy-policy-page__toc-list {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.privacy-policy-page__toc-list a {
  color: #2c2f34;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.privacy-policy-page__toc-list a:hover {
  border-bottom-color: var(--p-gold, #af8f5c);
  color: var(--p-gold, #9a7640);
}

.privacy-policy-page__body {
  font-family: Inter, sans-serif;
  font-size: 15px;
  line-height: 1.72;
  color: #393c42;
}

.privacy-policy-page__block {
  margin-bottom: 2.35rem;
  scroll-margin-top: 92px;
}

.privacy-policy-page__block:last-of-type {
  margin-bottom: 0;
}

.privacy-policy-page__block h2 {
  margin: 0 0 14px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #171a1f;
}

.privacy-policy-page__block h3 {
  margin: 1.25rem 0 10px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #292c31;
}

.privacy-policy-page__block p {
  margin: 0 0 1rem;
}

.privacy-policy-page__block p:last-child {
  margin-bottom: 0;
}

.privacy-policy-page__list {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-policy-page__list li::marker {
  color: var(--p-gold, #af8f5c);
}

.privacy-policy-page__note,
.privacy-policy-page__disclaimer {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  background: #f9f8f5;
  border-left: 3px solid rgba(212, 175, 117, 0.7);
}

.privacy-policy-page__disclaimer {
  margin-top: 14px;
  font-style: italic;
  color: #4a4e55;
}

.privacy-policy-page__table-wrap {
  margin: 10px 0 14px;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #e8e4dc;
}

.privacy-policy-page__table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
}

.privacy-policy-page__table th,
.privacy-policy-page__table td {
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #eee9e2;
}

.privacy-policy-page__table th {
  font-weight: 700;
  color: #1a1d22;
  background: #fcfbf9;
}

.privacy-policy-page__wp-content {
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .privacy-policy-page__shell {
    padding: 20px 16px 48px;
  }

  .privacy-policy-page__toc {
    padding: 16px 14px;
  }

  .privacy-policy-page__toc-list {
    font-size: 13px;
  }
}

.single-post-page {
  background: #fff;
  padding-bottom: 70px;
}

.single-post-page__hero {
  padding: 70px 0 30px;
  border-bottom: 1px solid #ececec;
}

.single-post-page__meta {
  margin: 0 0 16px;
  color: var(--p-gold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.single-post-page__hero h1 {
  margin: 0;
  max-width: 900px;
  font-family: "Playfair Display", serif;
  font-size: 48px;
  line-height: 1.15;
}

.single-post-page__article {
  padding-top: 34px;
}

.single-post-page__featured {
  margin: 0 auto 36px;
  max-width: 720px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f3f3;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}

.single-post-page__featured-img {
  width: 100%;
  height: auto;
  max-width: 720px;
  display: block;
  vertical-align: middle;
}

.single-post-page__content {
  max-width: 680px;
  margin: 0 auto;
  color: #222;
  line-height: 1.85;
  font-size: 18px;
}

.single-post-page__content img,
.single-post-page__content .wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.single-post-page__content h2,
.single-post-page__content h3,
.single-post-page__content h4 {
  font-family: "Playfair Display", serif;
  line-height: 1.3;
  margin-top: 38px;
}

.single-post-page__nav {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.single-post-page__nav-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid #e7e7e7;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
}

.single-post-page__nav-item a:hover {
  border-color: var(--p-gold);
  color: var(--p-gold);
}

.single-post-page__nav-item--prev {
  text-align: left;
}

.single-post-page__nav-item--all {
  text-align: center;
}

.single-post-page__nav-item--next {
  text-align: right;
}

.error404-page {
  background: #fff;
  padding: 90px 0 110px;
}

.error404-page__inner {
  max-width: 760px;
  text-align: center;
}

.error404-page__code {
  margin: 0 0 14px;
  font-family: "Playfair Display", serif;
  font-size: 82px;
  line-height: 1;
  color: var(--p-gold);
}

.error404-page h1 {
  margin: 0 0 18px;
  font-family: "Playfair Display", serif;
  font-size: 44px;
  line-height: 1.2;
  color: #1a1a1a;
}

.error404-page p {
  margin: 0 auto 30px;
  max-width: 620px;
  color: #555;
  line-height: 1.7;
}

.error404-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid #1a1a1a;
}

.error404-page__btn:hover {
  background: transparent;
  color: #1a1a1a;
  border-color: var(--p-gold);
}

.kk-footer {
  margin-top: 0;
  background-color: var(--kk-footer-bg);
  color: var(--kk-footer-white);
  font-family: "Inter", sans-serif;
  padding-top: 60px;
  margin-top: auto;
  overflow-x: auto;
}

.kk-footer-main {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px 40px 40px;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1.5fr;
  gap: 50px;
}

.kk-footer-logo {
  height: 90px;
  width: auto;
  max-width: 100%;
  margin-bottom: 25px;
  display: block;
  object-fit: contain;
}

.kk-footer-brand p {
  font-size: 14px;
  color: var(--kk-footer-gray);
  line-height: 1.8;
  max-width: 320px;
}

.kk-footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--kk-footer-gold);
  margin-bottom: 25px;
  font-weight: 700;
}

.kk-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kk-footer-nav li {
  margin-bottom: 12px;
}

.kk-footer-nav a {
  color: var(--kk-footer-white);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.kk-footer-nav a:hover {
  color: var(--kk-footer-gold);
}

.kk-footer-info {
  font-size: 16px;
  color: var(--kk-footer-white);
  line-height: 1.6;
}

.kk-footer-info a {
  color: var(--kk-footer-white);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.kk-footer-info a:hover {
  color: var(--kk-footer-gold);
}

.kk-footer-biuro {
  color: var(--kk-footer-gray);
}

.kk-footer-biuro-line {
  display: block;
  margin-bottom: 8px;
}

.kk-footer-biuro .kk-footer-biuro-line:last-child {
  margin-bottom: 0;
}

.kk-footer-bar {
  border-top: 1px solid var(--kk-footer-line);
  padding: 20px 40px;
  background-color: var(--kk-footer-bg);
}

.kk-footer-bar-grid {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  font-size: 14px;
  color: var(--kk-footer-gray);
}

@media (min-width: 992px) {
  .kk-footer-main,
  .kk-footer-bar-grid {
    min-width: 1100px;
  }
}

.kk-bar-left {
  text-align: left;
}

.kk-bar-center {
  text-align: center;
}

.kk-bar-right {
  text-align: right;
}

.kk-footer-bar a {
  color: var(--kk-footer-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.kk-footer-bar a:hover {
  color: var(--kk-footer-white);
}

@media (max-width: 991px) {
  .kk-footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding: 0 20px 40px 20px;
  }

  .kk-footer-logo {
    margin: 0 auto 25px auto;
    height: 95px;
  }

  .kk-footer-brand p {
    margin: 0 auto;
  }

  .kk-footer-bar-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 15px;
  }

  .kk-bar-left,
  .kk-bar-center,
  .kk-bar-right {
    text-align: center;
  }
}

@media (max-width: 1100px) {
  body {
    padding-top: 70px;
  }

  .kkn-desktop-nav,
  .kkn-tel-btn {
    display: none;
  }

  .kkn-hamburger {
    display: block;
  }

  .kk-nav-container {
    height: 70px;
    padding: 0 20px;
  }

  .hero-accent-line {
    display: none;
  }

  .hero-main {
    display: block;
    min-height: auto;
  }

  .hero-img-side {
    height: 40vh;
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .hero-text-side {
    background: var(--p-white);
    margin-top: -40px;
    padding: 50px 25px;
    border-radius: 40px 40px 0 0;
    text-align: center;
    align-items: center;
    z-index: 10;
  }

  .hero-text-side h1 {
    font-size: 32px;
  }

  .kicker .text-gold {
    margin: 0 auto;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-tile {
    border-right: none;
    border-bottom: 1px solid var(--p-line);
  }

  .info-grid .info-tile:last-child {
    border-bottom: none;
  }

  .blog-page__shell {
    padding: 0 24px;
  }

  .news-container {
    padding: 0 24px;
  }
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    padding: 40px 20px;
    border-right: none;
  }

  .about-section {
    padding: 60px 20px;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mobile-header {
    display: block;
  }

  .about-content h2,
  .about-content .kicker {
    display: none;
  }

  .about-gallery {
    height: 350px;
    order: 2;
  }

  .img-large {
    width: 100%;
    height: 100%;
  }

  .img-small {
    display: none;
  }

  .about-gallery::before {
    left: 50%;
    transform: translateX(-50%);
    top: -15px;
  }

  .about-content {
    padding: 0;
    text-align: center;
    order: 3;
  }

  .experience-badge {
    justify-content: center;
  }

  .lawyer-card-container {
    padding: 40px 25px;
  }

  .lawyer-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lawyer-header {
    text-align: center;
  }

  .contact-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .blog-page__shell--crumbs {
    padding-top: 6px;
    padding-bottom: 4px;
  }

  .blog-page__crumbs {
    padding: 7px 10px;
    font-size: 11px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .blog-page__crumbs-item {
    font-size: 11px;
  }

  .blog-page__hero {
    padding: 8px 0 14px;
  }

  .blog-page__hero h1 {
    font-size: 1.45rem;
  }

  .single-post-page__hero h1 {
    font-size: 34px;
  }

  .single-post-page__content {
    font-size: 17px;
  }

  .single-post-page__nav {
    grid-template-columns: 1fr;
  }

  .single-post-page__nav-item--prev,
  .single-post-page__nav-item--all,
  .single-post-page__nav-item--next {
    text-align: left;
  }

  .error404-page {
    padding: 70px 0 90px;
  }

  .error404-page__code {
    font-size: 64px;
  }

  .error404-page h1 {
    font-size: 34px;
  }
}
