/* additional css */

/* ============================================
   GLOBAL FONT SIZE REDUCTION (-2px)
   Client feedback: reduce all text sizes by 2px
   ============================================ */
:root {
  /* Headings - reduced by ~2px each */
  --text-heading-1: 4.125rem;    /* was 4.25rem (68px -> 66px) */
  --text-heading-2: 3.125rem;    /* was 3.25rem (52px -> 50px) */
  --text-heading-3: 2.375rem;    /* was 2.5rem (40px -> 38px) */
  --text-heading-4: 1.875rem;    /* was 2rem (32px -> 30px) */
  --text-heading-5: 1.375rem;    /* was 1.5rem (24px -> 22px) */
  --text-heading-6: 1.125rem;    /* was 1.25rem (20px -> 18px) */

  /* Body text sizes - reduced by ~1-2px */
  --text-base: 0.9375rem;        /* was 1rem (16px -> 15px) */
  --text-lg: 1rem;               /* was 1.125rem (18px -> 16px) */
  --text-xl: 1.125rem;           /* was 1.25rem (20px -> 18px) */

  /* Taglines - reduced by ~1-2px */
  --text-tagline-1: 0.875rem;    /* was 1rem (16px -> 14px) */
  --text-tagline-2: 0.8125rem;   /* was 0.875rem (14px -> 13px) */
  --text-tagline-3: 0.6875rem;   /* was 0.75rem (12px -> 11px) */

  --color-background-1: #fcfcfd;
  --color-background-3: #F4F5F8;

}

/* Reduce section spacing globally */
section {
  --section-spacing: clamp(3rem, 6vw, 5rem);
}

/* Reduce gaps between major sections */
.py-20 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 5rem; padding-bottom: 5rem; }
.py-28 { padding-top: 5.5rem; padding-bottom: 5.5rem; }
.py-32 { padding-top: 6rem; padding-bottom: 6rem; }

.mt-20 { margin-top: 4rem; }
.mt-24 { margin-top: 5rem; }
.mb-20 { margin-bottom: 4rem; }
.mb-24 { margin-bottom: 5rem; }

.gap-20 { gap: 4rem; }
.gap-24 { gap: 5rem; }

/* Logo - reduce size */
.header-one figure.lg\:max-w-\[198px\] {
  max-width: 170px;
}
.header-one figure.max-w-\[120px\] {
  max-width: 100px;
}

.w-\[33\%\] {
  width: 33%;
}

.w-\[66\%\] {
  width: 66%;
}

.w-\[70\%\] {
  width: 70%;
}

.h-\[273px\] {
  height: 273px;
}

.pt-\[3px\] {
  padding-top: 3px;
}

.fixedHeightColumn li {
  height: 55px;
}

.show-sidebar {
  z-index: 9999999;
}

.badge {
  text-transform: unset;
}

.scroll-header {
  z-index: 201;
}

.mega-menu, .dropdown-menu, .customer-dropdown-menu {
  z-index: 201;
}

.header-one {
  z-index: 9999999;
}

/* "Załoguj się" link */
.header-one a[href*="login"],
.header-one a[href*="login"] span {
  font-size: 0.75rem; /* 12px */
}

/* "Umów się na demo" button */
.header-one .btn-md,
.header-one .btn-md span {
  font-size: 0.75rem; /* 12px */
}

/* Language switcher */
.header-one .lang-switcher,
.header-one .lang-switcher a,
.header-one .lang-switcher span {
  font-size: 0.75rem; /* 12px */
}

/* Nav menu items */
.header-one nav .text-tagline-1 {
  font-size: 0.8125rem; /* 13px */
}

/* Mobile menu text */
.sidebar .text-tagline-1 {
  font-size: 0.8125rem;
}

.logos-marquee-container {
    width: 100%;
    overflow: hidden;
  }

  .logos-marquee-track {
    display: flex;
    gap: 40px;
    animation: marquee 120s linear infinite;
    width: max-content;
  }

  .logos-marquee-track img {
    height: 35px;
    width: auto;
    flex-shrink: 0;
  }

  @keyframes marquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  .logos-marquee-container:hover .logos-marquee-track {
    animation-play-state: paused;
  }
  
  .text-cta {
    color: white;
  }
  
  .text-cta-bottom {
    color: #ceaced;
  }
  
  .new-placeholder::placeholder{
    color: #ceaced;
  }

  .new-placeholder{
    background: #FCFCFC0D;
    border: unset;
  }

  .egibility-placeholder{
    background: #FCFCFD;
    border: 1px solid #d7dde5;
    max-width: 100%;
    width: 100%;
    margin: 24px 0px 56px 0px;
  }
  
  .buttons-newsletter{
    background:#FCFCFC1A;
  }

  .text-footer-color{
    color:#211f54;
  }

  footer hr{
    color: #e3e7ed;
  }

  :where(figure){
    margin: unset;
  }

  .restaurant-why-choose-icon-1:before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/cards-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.restaurant-why-choose-icon-1-2:before {
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/cards-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.restaurant-why-choose-icon-2:before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/table-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}
.restaurant-why-choose-icon-3:before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/money-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}
.restaurant-why-choose-icon-4:before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/menu-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.restaurant-why-choose-icon-4-2:before {
  content: "";
  display: block;
  width: 75px;
  height: 75px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/menu-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.restaurant-why-choose-icon-5:before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/calendar-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}
.restaurant-why-choose-icon-6:before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/review-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.qsr-why-choose-icon-1:before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/order-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}
.qsr-why-choose-icon-2:before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/like-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}
.qsr-why-choose-icon-3:before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/waiter-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}
.qsr-why-choose-icon-4:before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/stats-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}
.qsr-why-choose-icon-4-2:before {
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/stats-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}
.qsr-why-choose-icon-5:before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/review-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}
.qsr-why-choose-icon-6:before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/chef-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: block;
  background: rgba(255, 255, 255, 0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 99999999;
  overflow-y: auto;
}

.modal-overlay.modal-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay.modal-close {
  opacity: 0;
  pointer-events: none;
}

.modal-content {
  position: relative;
  background: transparent;
  border-radius: 0;
  width: 100%;
  min-height: 100%;
  max-height: 100vh;
  overflow: visible;
  box-shadow: none;
}

.demo-modal__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  min-height: 100%;
}

.demo-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.demo-modal__logo {
  height: 32px;
  width: auto;
  display: block;
}

.demo-modal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.demo-modal__form {
  background: transparent;
  border-radius: 0;
  padding: 0;
  min-height: 360px;
}

.demo-modal__form-placeholder {
  width: 100%;
  background: transparent;
  border-radius: 0;
  padding: 0;
  text-align: left;
}

.modal-close-btn {
  position: static;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e3e7ed;
  box-shadow: 0 8px 20px rgba(17, 19, 24, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: #211f54;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.modal-close-btn:hover {
  background: #f6f7fb;
  border-color: #d7dde5;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .demo-modal {
    grid-template-columns: 1fr;
  }

  .demo-modal__form {
    min-height: 280px;
  }
}

@media (max-width: 540px) {
  .demo-modal__inner {
    padding: 28px 16px 48px;
  }

  .demo-modal__top {
    margin-bottom: 24px;
  }
}

.reservation-map-icon-1:before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/cafe-table-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}
.reservation-map-icon-2:before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/bill-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}
.reservation-map-icon-3:before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/protected-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.reservation-map-icon-3-2:before {
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/protected-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.reservation-map-icon-4:before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/order-note-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.home-about-icon-1:before{
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/phone-order.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.home-about-icon-1-2:before{
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/phone-order.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.home-about-icon-2:before{
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/check-in-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.home-about-icon-3:before{
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/card-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.home-about-icon-4:before{
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/desk-call-bell.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.room-service-about-icon-1:before{
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/cash-register.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.room-service-about-icon-2:before{
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/certificate.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.room-service-about-icon-3:before{
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/messenger.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.room-service-about-icon-4:before{
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/cvv.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.room-service-about-icon-5:before{
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/cash-register-mini.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.room-service-about-icon-6:before{
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/card-locked.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.room-service-about-icon-7:before{
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/waiter-2.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.room-service-about-icon-8:before{
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/cash-buy.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.room-service-about-icon-9:before{
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/monitor-order.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.room-service-about-icon-10:before{
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/bed.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.room-service-about-icon-11:before{
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/newspaper.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.room-service-functionality-icon-1:before{
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/pricelist.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.room-service-functionality-icon-2:before{
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/bathtub.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.review-booster-produkt-icon-1:before{
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/bullhorn.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.review-booster-produkt-icon-2:before{
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/food-location-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.review-booster-produkt-add-icon-1:before{
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/review-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.review-booster-produkt-add-icon-2:before{
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/envelope.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.online-ordering-produkt-add-icon-1:before{
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/chef-icon-2.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.online-ordering-row-icon-1:before{
  content: "";
  display: block;
  width: 75px;
  height: 75px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/chef-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.online-ordering-row-icon-2:before{
  content: "";
  display: block;
  width: 75px;
  height: 75px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/desk-call-bell.png');
  background-repeat: no-repeat;
  background-size: contain;
}


.online-ordering-row-icon-3:before{
  content: "";
  display: block;
  width: 75px;
  height: 75px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/waiter-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.stats-icon-1:before{
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/wine-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.stats-icon-2:before{
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/frying-pan-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.stats-icon-3:before{
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/glass-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.stats-icon-3-2:before{
  content: "";
  display: block;
  width: 75px;
  height: 75px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/glass-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.stats-icon-4:before{
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/mortarboard-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.workshop-icon-1:before{
  content: "";
  display: block;
  width: 75px;
  height: 75px;
  background-image: url('/wp-content/themes/kdn-theme/images/new-icons/cash-cart-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.integration-background{
  background: linear-gradient(180deg, rgba(248, 212, 72, 0.7) 0%, rgba(138, 50, 214, 0.7) 50%);
}

.reviews-background{
  background: linear-gradient(180deg, rgba(248, 212, 72, 0.7) 30%, rgba(138, 50, 214, 0.7) 100%);
}

.crm-background{
  background: linear-gradient(90deg,rgba(181, 58, 208, 1) 0%, rgba(138, 50, 214, 1) 40%);
}

.bg-testimonials{
  background: #fcfcfd;
}

.cta-1 {
  background:
    linear-gradient(
      0.25turn,
      var(--color-primary-500),
      var(--color-primary-700)
    );
}

@media (min-width: 1536px) {
  .cta-1 {
    background:
      url("/wp-content/themes/kdn-theme/images/cta-icon-cutlery-new.png") left top -20px / 180px 180px no-repeat,
      url("/wp-content/themes/kdn-theme/images/cta-icon-calendar.png") right -30px bottom -30px / 180px 180px no-repeat,
      linear-gradient(
        0.25turn,
        var(--color-primary-500),
        var(--color-primary-700)
      );
  }
}

.cta-2 {
  background:
    linear-gradient(
      0.25turn,
      var(--color-primary-500),
      var(--color-primary-700)
    );
}

@media (min-width: 1536px) {
  .cta-2 {
    background:
      url("/wp-content/themes/kdn-theme/images/cta-icon-cutlery.png") right bottom -30px / 180px 180px no-repeat,
      linear-gradient(
        0.25turn,
        var(--color-primary-500),
        var(--color-primary-700)
      );
  }
}

.advantages-back-position{
  right:-40%!important;;
  top:-82%!important;;
  transform: rotate(86deg)!important;
}

.lang-switcher a:not(:last-child)::after,
.lang-switcher span:not(:last-child)::after {
    content: "| ";
    margin: 0 6px;
    color: #737475;
}

.lang-switcher {
    color: #CCCDCE;
    cursor: default;
}

.lang-switcher .active {
    color: #000;
}

.btn-services{
    background-color:#211F54;
    color: white;
}

.block-li{
  color:#737475;
  margin-bottom: 8px;
}

.block-li::before{
  color:black;
  content: "•";
  padding-right: 4px;
}

.line-through{
  text-decoration: line-through;
}

.content-center {
  align-content: center;
}

/* KB pages: offset for fixed header */
:is(.eckb-kb-template, .epkb-layout-container, #eckb-categories-archive-container-v2) {
  padding-top: 140px !important;
}

/* KB search tweaks */

.eckb-kb-block-search .epkb-ml-search-box__btn {
  background: linear-gradient(0.25turn, var(--color-primary-500), var(--color-primary-700)) !important;
  border: 1px solid var(--color-primary-600) !important;
  color: var(--color-white) !important;
  border-radius: 9999px;
}

/* KB article page */
.kdn-kb-article #eckb-article-page-container-v2 {
  margin-inline: auto;
}

.kdn-kb-article #eckb-article-body.kdn-article-body {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 32px !important;
  align-items: start;
}

.kdn-kb-article #eckb-article-body.kdn-article-body--has-left {
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) !important;
}

.kdn-kb-article #eckb-article-body.kdn-article-body--has-right {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px) !important;
}

.kdn-kb-article #eckb-article-body.kdn-article-body--has-left.kdn-article-body--has-right {
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) minmax(240px, 300px) !important;
}

.kdn-kb-article #eckb-article-body.kdn-article-body--has-left #eckb-article-left-sidebar {
  display: block !important;
}

.kdn-kb-article #eckb-article-body.kdn-article-body--has-right #eckb-article-right-sidebar {
  display: block !important;
}

.kdn-kb-article #eckb-article-body.kdn-article-body:not(.kdn-article-body--has-left) #eckb-article-left-sidebar {
  display: none !important;
}

.kdn-kb-article #eckb-article-body.kdn-article-body:not(.kdn-article-body--has-right) #eckb-article-right-sidebar {
  display: none !important;
}

.kdn-kb-article #eckb-article-body.kdn-article-body > #eckb-article-left-sidebar,
.kdn-kb-article #eckb-article-body.kdn-article-body > #eckb-article-content,
.kdn-kb-article #eckb-article-body.kdn-article-body > #eckb-article-right-sidebar {
  grid-column-start: auto !important;
  grid-column-end: auto !important;
}

.kdn-kb-article .kdn-article-sidebar .eckb-article-toc {
  width: 100%;
  position: sticky;
  top: 120px;
  float: none !important;
}

.kdn-kb-article .kdn-article-sidebar .eckb-article-toc__inner {
  border-radius: 12px;
  padding: 16px;
}

.kdn-kb-article .kdn-article-sidebar .eckb-article-toc + * {
  margin-top: 20px;
}

.kdn-kb-article #eckb-article-content {
  min-width: 0;
}

.kdn-kb-article .kdn-article-header {
  text-align: left;
  margin-bottom: 32px;
}

.kdn-kb-article .kdn-article-breadcrumb {
  color: var(--color-secondary);
  font-size: 14px;
  line-height: 1.4;
}

.kdn-kb-article .kdn-article-breadcrumb__text {
  margin: 0;
  color: var(--color-secondary);
  opacity: 0.6;
}

.kdn-kb-article .kdn-article-breadcrumb__text a,
.kdn-kb-article .kdn-article-breadcrumb__text .current {
  color: var(--color-secondary);
  text-decoration: none;
}

.kdn-kb-article .kdn-article-breadcrumb__sep {
  margin: 0 8px;
  color: var(--color-secondary);
  opacity: 0.6;
}

.kdn-kb-article .eckb-breadcrumb {
  margin-bottom: 6px;
}

.kdn-kb-article .eckb-breadcrumb-nav {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}

.kdn-kb-article #eckb-article-content .eckb-article-title {
  margin: 12px 0 14px;
  font-size: 24px;
  line-height: 1.25;
}

.kdn-kb-article .kdn-article-meta {
  margin-bottom: 14px;
}

.kdn-kb-article .kdn-article-meta .eckb-article-content-header__article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.kdn-kb-article .kdn-article-meta .eckb-article-content-header__article-meta > div {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid var(--color-stroke-1);
  background: var(--color-background-2);
  font-size: 13px;
  color: var(--color-secondary);
}

.kdn-kb-article .kdn-article-meta .eckb-article-content-header__article-meta time {
  font-weight: 600;
}

.kdn-kb-article .kdn-article-back {
  margin-bottom: 12px;
}

.kdn-kb-article .kdn-article-back {
  display: flex;
  justify-content: flex-start;
}

.kdn-kb-article .kdn-article-back .eckb-navigation-back a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px !important;
  border-radius: 9999px !important;
  border: 1px solid var(--color-stroke-1) !important;
  background: var(--color-white) !important;
  color: var(--color-secondary) !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

.kdn-kb-article .kdn-article-back .eckb-navigation-back a:hover {
  border-color: var(--color-primary-500) !important;
  color: var(--color-primary-500) !important;
}

.kdn-kb-article .kdn-article-toc {
  margin: 12px 0 0;
}

.kdn-kb-article #eckb-article-content-body,
.kdn-kb-article .kdn-article-prose {
  color: var(--color-secondary);
  font-size: 16px !important;
  line-height: 1.75 !important;
}

.kdn-kb-article .kdn-article-prose p {
  margin: 0 0 18px;
}

.kdn-kb-article #eckb-article-content-body h1 {
  margin: 34px 0 14px;
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 24px !important;
  line-height: 1.35 !important;
}

.kdn-kb-article #eckb-article-content-body h2,
.kdn-kb-article #eckb-article-content-body h3,
.kdn-kb-article #eckb-article-content-body h4 {
  margin: 30px 0 12px;
  font-weight: 600;
  color: var(--color-secondary);
}

.kdn-kb-article #eckb-article-content-body h2 {
  font-size: 22px !important;
  line-height: 1.4 !important;
}

.kdn-kb-article #eckb-article-content-body h3 {
  font-size: 20px !important;
  line-height: 1.4 !important;
}

.kdn-kb-article #eckb-article-content-body h4 {
  font-size: 18px !important;
  line-height: 1.4 !important;
}

.kdn-kb-article .kdn-article-prose ul,
.kdn-kb-article .kdn-article-prose ol {
  margin: 0 0 18px 20px;
}

.kdn-kb-article .kdn-article-prose img {
  display: block;
  max-width: 960px;
  width: 100%;
  height: auto;
  margin: 22px auto;
  border-radius: 12px;
}

.kdn-kb-article .kdn-article-prose figure {
  margin: 24px auto;
  max-width: 960px;
}

@media (min-width: 768px) {
  .kdn-kb-article #eckb-article-content .eckb-article-title {
    font-size: 28px;
  }
}

@media (min-width: 1024px) {
  .kdn-kb-article #eckb-article-content .eckb-article-title {
    font-size: 30px;
  }
}

@media (max-width: 1024px) {
  .kdn-kb-article #eckb-article-body.kdn-article-body {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .kdn-kb-article #eckb-article-content {
    order: 1 !important;
  }

  .kdn-kb-article #eckb-article-left-sidebar {
    order: 2 !important;
  }

  .kdn-kb-article #eckb-article-right-sidebar {
    order: 3 !important;
  }

  .kdn-kb-article .kdn-article-sidebar .eckb-article-toc {
    position: static;
  }
}


.ns-shape-2:before,
.ns-shape-7:before,
.ns-shape-7-2:before,
.ns-shape-9:before {
  width: 55px;
  height: 55px;
}

.ns-shape-12 {
  width: 65px;
  height: 65px;
}

/* ================================
   RESTAURANT PAGE FIXES
================================ */

/* 1. Зменшити шрифт hero title */
.page-template-page-restaurant #hero h1 {
  font-size: 3rem; /* менше ніж стандартний heading-1 */
}
@media (min-width: 768px) {
  .page-template-page-restaurant #hero h1 {
    font-size: 3.5rem;
  }
}

/* 2. Зменшити шрифт підзаголовка hero */
.page-template-page-restaurant #hero p {
  font-size: 0.9375rem; /* 15px */
}

/* 7-8. Зменшити відступи між секціями */
.page-template-page-restaurant section {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (min-width: 1024px) {
  .page-template-page-restaurant section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
.page-template-page-restaurant #hero {
  padding-top: 130px;
}

/* Hero gallery images - фіксована висота */
.page-template-page-restaurant #hero figure,
.page-template-page-hotels #hero figure,
.page-template-page-qsr #hero figure {
  height: 380px;
  max-height: 380px;
}
.page-template-page-restaurant #hero figure img,
.page-template-page-hotels #hero figure img,
.page-template-page-qsr #hero figure img {
  height: 100%;
  object-fit: cover;
}

/* Stacked cards - накладання карток */
.stacked-cards .stacked-card {
  margin-top: -38px;
}

/* 2xl breakpoint - show only on screens >= 1536px */
@media (min-width: 1536px) {
  .\32xl\:flex {
    display: flex !important;
  }
}