.aiport-lista-layout,
.aiport-karta-layout {
  --af-primary: #5b18d6;
  --af-primary-dark: #2f0a5f;
  --af-surface: #ffffff;
  --af-muted: #f3f3f8;
  --af-text: #13111b;
  --af-border: #e8e8f0;
  color: var(--af-text);
}

.aiport-lista-hero {
  background: linear-gradient(135deg, #7126ea 0%, #5b18d6 48%, #42119f 100%);
  border-radius: 16px;
  padding: 34px 24px;
  color: #fff;
  margin-bottom: 24px;
}

.aiport-lista-hero h2 {
  margin: 0 0 8px;
  font-size: 34px;
}

.aiport-lista-hero p {
  margin: 0 0 18px;
  opacity: 0.95;
}

.aiport-lista-search-form {
  display: grid;
  grid-template-columns: 1fr 260px 180px;
  gap: 10px;
  margin-bottom: 18px;
}

.aiport-lista-search-form input,
.aiport-lista-search-form select {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: #222;
}

.aiport-lista-search-form button {
  height: 46px;
  border: 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.aiport-lista-search-form--sidebar {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.aiport-lista-search-form--sidebar input,
.aiport-lista-search-form--sidebar select {
  border: 1px solid #ddd;
}

.aiport-lista-search-form--sidebar button {
  background: #1f003b;
}

.aiport-firmy-search-shell {
  display: none !important;
}

.elementor-widget-shortcode:has(.aiport-firmy-search-input),
.elementor-widget-shortcode:has(.aiport-firmy-search-category),
.elementor-widget-shortcode:has(.aiport-firmy-search-button),
.elementor-widget-html:has(.aiport-firmy-search-input),
.elementor-widget-html:has(.aiport-firmy-search-category),
.elementor-widget-html:has(.aiport-firmy-search-button) {
  width: 100% !important;
  max-width: 100% !important;
}

.elementor-widget-shortcode:has(.aiport-firmy-search-input) .elementor-widget-container,
.elementor-widget-shortcode:has(.aiport-firmy-search-category) .elementor-widget-container,
.elementor-widget-shortcode:has(.aiport-firmy-search-button) .elementor-widget-container,
.elementor-widget-html:has(.aiport-firmy-search-input) .elementor-widget-container,
.elementor-widget-html:has(.aiport-firmy-search-category) .elementor-widget-container,
.elementor-widget-html:has(.aiport-firmy-search-button) .elementor-widget-container,
.elementor-widget-shortcode:has(.aiport-firmy-search-input) .elementor-shortcode,
.elementor-widget-shortcode:has(.aiport-firmy-search-category) .elementor-shortcode,
.elementor-widget-shortcode:has(.aiport-firmy-search-button) .elementor-shortcode {
  width: 100% !important;
  max-width: 100% !important;
}

/* Fallback for Elementor layouts that still use legacy IDs and btn-search-full class. */
#site-search,
#site-category,
#site-search-sidebar,
#site-category-sidebar {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.elementor-element.btn-search-full,
.elementor-element.btn-search-full .elementor-widget-container,
.elementor-element.btn-search-full .elementor-button-wrapper,
.elementor-element.btn-search-full .elementor-button {
  width: 100% !important;
  max-width: 100% !important;
}

.elementor-element.btn-search-full {
  flex: 1 1 100% !important;
}

.aiport-firmy-search-input,
.aiport-firmy-search-category {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  height: 55px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0 16px;
  background: #fff;
  color: #222;
  font-size: 15px;
  font-family: Barlow, system-ui, -apple-system, "Segoe UI", sans-serif;
  box-sizing: border-box;
  vertical-align: top;
  position: relative;
  top: 0;
  transform: none !important;
}

.aiport-firmy-search-category {
  padding-right: 50px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.aiport-firmy-search-category::-ms-expand {
  display: none;
}

.aiport-firmy-search-input:focus,
.aiport-firmy-search-category:focus {
  outline: 0;
  border-color: #5b18d6;
  box-shadow: 0 0 0 2px rgba(91, 24, 214, 0.18);
}

.aiport-firmy-search-button {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  height: 55px;
  border: 0;
  border-radius: 6px;
  background: #1f003b;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  font-family: Barlow, system-ui, -apple-system, "Segoe UI", sans-serif;
  box-sizing: border-box;
  cursor: pointer;
  vertical-align: top;
  position: relative;
  top: 0;
  transform: none !important;
}

.aiport-firmy-company-title {
  margin: 0 0 8px;
}

.aiport-firmy-company-title a {
  color: var(--af-text);
  text-decoration: none;
}

h1.aiport-firmy-company-title {
  margin: 0 0 18px;
  text-align: center;
  color: #fff !important;
}

h1.aiport-firmy-company-title a {
  color: #fff !important;
}

.elementor h1.aiport-firmy-company-title,
.elementor .elementor-widget-heading h1.aiport-firmy-company-title,
.elementor .elementor-widget-heading .elementor-heading-title.aiport-firmy-company-title {
  text-align: center !important;
  color: #fff !important;
}

.aiport-firmy-single-page-template .elementor-widget-heading h1.elementor-heading-title,
.single-firma_ai .elementor-widget-heading h1.elementor-heading-title,
.single-firma-ai .elementor-widget-heading h1.elementor-heading-title,
.aiport-firmy-single-page-template .elementor-element-772bf0f4 .elementor-heading-title,
.single-firma_ai .elementor-element-772bf0f4 .elementor-heading-title,
.single-firma-ai .elementor-element-772bf0f4 .elementor-heading-title,
.aiport-firmy-single-page-template .elementor-widget-heading .elementor-heading-title.aiport-firmy-company-title,
.aiport-firmy-single-page-template h1.aiport-firmy-hero-title,
.single-firma_ai h1.aiport-firmy-hero-title,
.single-firma-ai h1.aiport-firmy-hero-title {
  margin: 0 0 18px !important;
  text-align: center !important;
  color: #fff !important;
  font-size: 40px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  user-select: text !important;
  -webkit-user-select: text !important;
  pointer-events: auto !important;
}

.aiport-firmy-single-page-template .aiport-firmy-force-select,
.aiport-firmy-single-page-template .aiport-firmy-force-select *,
.single-firma_ai .aiport-firmy-force-select,
.single-firma_ai .aiport-firmy-force-select *,
.single-firma-ai .aiport-firmy-force-select,
.single-firma-ai .aiport-firmy-force-select * {
  user-select: text !important;
  -webkit-user-select: text !important;
  pointer-events: auto !important;
  cursor: text !important;
}

.aiport-firmy-single-page-template .aiport-firmy-force-select,
.single-firma_ai .aiport-firmy-force-select,
.single-firma-ai .aiport-firmy-force-select {
  position: relative !important;
  z-index: 999 !important;
}

/* Hard fix for themes that disable text selection on hero wrappers. */
.aiport-firmy-single-page-template .elementor .elementor-top-section:first-of-type,
.aiport-firmy-single-page-template .elementor .elementor-top-section:first-of-type *,
.single-firma_ai .elementor .elementor-top-section:first-of-type,
.single-firma_ai .elementor .elementor-top-section:first-of-type *,
.single-firma-ai .elementor .elementor-top-section:first-of-type,
.single-firma-ai .elementor .elementor-top-section:first-of-type * {
  user-select: text !important;
  -webkit-user-select: text !important;
}

.aiport-firmy-single-page-template .elementor .elementor-top-section:first-of-type > .elementor-background-overlay,
.aiport-firmy-single-page-template .elementor .elementor-top-section:first-of-type > .elementor-motion-effects-container,
.aiport-firmy-single-page-template .elementor .elementor-top-section:first-of-type > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.aiport-firmy-single-page-template .elementor .elementor-top-section:first-of-type > .elementor-background-video-container,
.single-firma_ai .elementor .elementor-top-section:first-of-type > .elementor-background-overlay,
.single-firma_ai .elementor .elementor-top-section:first-of-type > .elementor-motion-effects-container,
.single-firma_ai .elementor .elementor-top-section:first-of-type > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.single-firma_ai .elementor .elementor-top-section:first-of-type > .elementor-background-video-container,
.single-firma-ai .elementor .elementor-top-section:first-of-type > .elementor-background-overlay,
.single-firma-ai .elementor .elementor-top-section:first-of-type > .elementor-motion-effects-container,
.single-firma-ai .elementor .elementor-top-section:first-of-type > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.single-firma-ai .elementor .elementor-top-section:first-of-type > .elementor-background-video-container {
  pointer-events: none !important;
}

.aiport-firmy-single-page-template .elementor .elementor-top-section:first-of-type > .elementor-container,
.aiport-firmy-single-page-template .elementor .elementor-top-section:first-of-type > .elementor-container > .elementor-column,
.single-firma_ai .elementor .elementor-top-section:first-of-type > .elementor-container,
.single-firma_ai .elementor .elementor-top-section:first-of-type > .elementor-container > .elementor-column,
.single-firma-ai .elementor .elementor-top-section:first-of-type > .elementor-container,
.single-firma-ai .elementor .elementor-top-section:first-of-type > .elementor-container > .elementor-column {
  position: relative !important;
  z-index: 3 !important;
  pointer-events: auto !important;
}

.aiport-firmy-single-page-template .elementor .elementor-top-section:first-of-type .elementor-widget-wrap,
.single-firma_ai .elementor .elementor-top-section:first-of-type .elementor-widget-wrap,
.single-firma-ai .elementor .elementor-top-section:first-of-type .elementor-widget-wrap {
  position: relative !important;
  z-index: 3 !important;
  pointer-events: auto !important;
}

/* Extra guard for themes that place transparent pseudo-overlays over hero text. */
.aiport-firmy-single-page-template .elementor .elementor-top-section:first-of-type *::before,
.aiport-firmy-single-page-template .elementor .elementor-top-section:first-of-type *::after,
.single-firma_ai .elementor .elementor-top-section:first-of-type *::before,
.single-firma_ai .elementor .elementor-top-section:first-of-type *::after,
.single-firma-ai .elementor .elementor-top-section:first-of-type *::before,
.single-firma-ai .elementor .elementor-top-section:first-of-type *::after {
  pointer-events: none !important;
}

.aiport-firmy-company-description {
  margin: 0 0 12px;
  text-align: left;
  color: var(--af-text);
}

.elementor .aiport-firmy-company-description,
.elementor .elementor-widget-text-editor .aiport-firmy-company-description,
.elementor .elementor-widget-heading .aiport-firmy-company-description {
  text-align: left !important;
  color: var(--af-text) !important;
}

.aiport-firmy-single-page-template .aiport-firmy-hero-subtitle,
.aiport-firmy-single-page-template .aiport-firmy-hero-subtitle p,
.aiport-firmy-single-page-template .aiport-firmy-hero-subtitle span,
.aiport-firmy-single-page-template .aiport-firmy-hero-subtitle strong,
.aiport-firmy-single-page-template .aiport-firmy-hero-subtitle em,
.aiport-firmy-single-page-template .aiport-firmy-hero-subtitle a,
.single-firma_ai .aiport-firmy-hero-subtitle,
.single-firma_ai .aiport-firmy-hero-subtitle p,
.single-firma_ai .aiport-firmy-hero-subtitle span,
.single-firma_ai .aiport-firmy-hero-subtitle strong,
.single-firma_ai .aiport-firmy-hero-subtitle em,
.single-firma_ai .aiport-firmy-hero-subtitle a,
.single-firma-ai .aiport-firmy-hero-subtitle,
.single-firma-ai .aiport-firmy-hero-subtitle p,
.single-firma-ai .aiport-firmy-hero-subtitle span,
.single-firma-ai .aiport-firmy-hero-subtitle strong,
.single-firma-ai .aiport-firmy-hero-subtitle em,
.single-firma-ai .aiport-firmy-hero-subtitle a {
  text-align: center !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  user-select: text !important;
  -webkit-user-select: text !important;
  pointer-events: auto !important;
}

.aiport-firmy-single-page-template .aiport-firmy-hero-subtitle,
.aiport-firmy-single-page-template .aiport-firmy-hero-subtitle p,
.single-firma_ai .aiport-firmy-hero-subtitle,
.single-firma_ai .aiport-firmy-hero-subtitle p,
.single-firma-ai .aiport-firmy-hero-subtitle,
.single-firma-ai .aiport-firmy-hero-subtitle p {
  display: block;
  margin: 0 auto 10px !important;
  max-width: 1200px;
  font-size: 15px !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
}

.aiport-firmy-single-page-template .aiport-firmy-hero-title::selection,
.aiport-firmy-single-page-template .aiport-firmy-hero-subtitle::selection,
.aiport-firmy-single-page-template .aiport-firmy-hero-subtitle *::selection,
.single-firma_ai .aiport-firmy-hero-title::selection,
.single-firma_ai .aiport-firmy-hero-subtitle::selection,
.single-firma_ai .aiport-firmy-hero-subtitle *::selection,
.single-firma-ai .aiport-firmy-hero-title::selection,
.single-firma-ai .aiport-firmy-hero-subtitle::selection,
.single-firma-ai .aiport-firmy-hero-subtitle *::selection {
  background: rgba(255, 255, 255, 0.35) !important;
  color: #1f003b !important;
  -webkit-text-fill-color: #1f003b !important;
}

.aiport-firmy-single-page-template .aiport-firmy-hero-title::-moz-selection,
.aiport-firmy-single-page-template .aiport-firmy-hero-subtitle::-moz-selection,
.aiport-firmy-single-page-template .aiport-firmy-hero-subtitle *::-moz-selection,
.single-firma_ai .aiport-firmy-hero-title::-moz-selection,
.single-firma_ai .aiport-firmy-hero-subtitle::-moz-selection,
.single-firma_ai .aiport-firmy-hero-subtitle *::-moz-selection,
.single-firma-ai .aiport-firmy-hero-title::-moz-selection,
.single-firma-ai .aiport-firmy-hero-subtitle::-moz-selection,
.single-firma-ai .aiport-firmy-hero-subtitle *::-moz-selection {
  background: rgba(255, 255, 255, 0.35) !important;
  color: #1f003b !important;
}

.aiport-firmy-single-page-template .aiport-firmy-company-content,
.aiport-firmy-single-page-template .aiport-firmy-company-content p,
.aiport-firmy-single-page-template .aiport-firmy-company-content li,
.aiport-firmy-single-page-template .aiport-firmy-company-content h1,
.aiport-firmy-single-page-template .aiport-firmy-company-content h2,
.aiport-firmy-single-page-template .aiport-firmy-company-content h3,
.aiport-firmy-single-page-template .aiport-firmy-company-content h4,
.aiport-firmy-single-page-template .aiport-firmy-company-content h5,
.aiport-firmy-single-page-template .aiport-firmy-company-content h6,
.single-firma_ai .aiport-firmy-company-content,
.single-firma_ai .aiport-firmy-company-content p,
.single-firma_ai .aiport-firmy-company-content li,
.single-firma_ai .aiport-firmy-company-content h1,
.single-firma_ai .aiport-firmy-company-content h2,
.single-firma_ai .aiport-firmy-company-content h3,
.single-firma_ai .aiport-firmy-company-content h4,
.single-firma_ai .aiport-firmy-company-content h5,
.single-firma_ai .aiport-firmy-company-content h6,
.single-firma-ai .aiport-firmy-company-content,
.single-firma-ai .aiport-firmy-company-content p,
.single-firma-ai .aiport-firmy-company-content li,
.single-firma-ai .aiport-firmy-company-content h1,
.single-firma-ai .aiport-firmy-company-content h2,
.single-firma-ai .aiport-firmy-company-content h3,
.single-firma-ai .aiport-firmy-company-content h4,
.single-firma-ai .aiport-firmy-company-content h5,
.single-firma-ai .aiport-firmy-company-content h6,
.aiport-firmy-single-page-template .post-content .aiport-firmy-company-content,
.aiport-firmy-single-page-template .post-content .aiport-firmy-company-content p,
.aiport-firmy-single-page-template .post-content .aiport-firmy-company-content li,
.aiport-firmy-single-page-template .post-content .aiport-firmy-company-content span,
.aiport-firmy-single-page-template .post-content .aiport-firmy-company-content strong,
.aiport-firmy-single-page-template .post-content .aiport-firmy-company-content em,
.aiport-firmy-single-page-template .post-content .aiport-firmy-company-content a,
.single-firma_ai .post-content .aiport-firmy-company-content,
.single-firma_ai .post-content .aiport-firmy-company-content p,
.single-firma_ai .post-content .aiport-firmy-company-content li,
.single-firma_ai .post-content .aiport-firmy-company-content span,
.single-firma_ai .post-content .aiport-firmy-company-content strong,
.single-firma_ai .post-content .aiport-firmy-company-content em,
.single-firma_ai .post-content .aiport-firmy-company-content a,
.single-firma-ai .post-content .aiport-firmy-company-content,
.single-firma-ai .post-content .aiport-firmy-company-content p,
.single-firma-ai .post-content .aiport-firmy-company-content li,
.single-firma-ai .post-content .aiport-firmy-company-content span,
.single-firma-ai .post-content .aiport-firmy-company-content strong,
.single-firma-ai .post-content .aiport-firmy-company-content em,
.single-firma-ai .post-content .aiport-firmy-company-content a {
  color: var(--af-text, #13111b) !important;
  -webkit-text-fill-color: currentColor !important;
  opacity: 1 !important;
  text-align: left !important;
}

.aiport-firmy-company-category {
  display: block;
  width: 100%;
  margin: 12px auto 0;
  text-align: center;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.elementor .aiport-firmy-company-category,
.elementor .elementor-widget-text-editor .aiport-firmy-company-category,
.elementor .elementor-widget-heading .aiport-firmy-company-category {
  text-align: center !important;
  color: #fff !important;
}

.aiport-firmy-company-link,
.aiport-firmy-company-map {
  color: var(--af-primary);
  text-decoration: none;
  font-weight: 600;
}

.aiport-firmy-company-map-wrap {
  display: block;
}

.aiport-firmy-company-map-link {
  margin: 0 0 12px;
}

.aiport-firmy-company-map-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  height: var(--af-map-height, 360px);
  min-height: 220px;
  border: 0;
  border-radius: 8px;
}

.aiport-firmy-contact-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  max-width: 100%;
  margin: 0 0 4px !important;
  padding: 10px 20px !important;
  min-height: 40px !important;
  border-radius: 25px !important;
  background: var(--af-primary, #8c35ef);
  color: #fff !important;
  text-decoration: none !important;
  font-family: var(--e-global-typography-accent-font-family, var(--e-global-typography-text-font-family, Barlow, system-ui, -apple-system, "Segoe UI", sans-serif)) !important;
  font-size: 14px !important;
  font-weight: var(--e-global-typography-accent-font-weight, 500) !important;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.aiport-firmy-contact-cta:last-child {
  margin-bottom: 0 !important;
}

.aiport-firmy-contact-cta::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-size: 16px 16px;
}

.aiport-firmy-contact-cta--website::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23fff' d='M4 3l7.5 17 2.4-6.1L20 11.5 4 3z'/></svg>");
}

.aiport-firmy-contact-cta--phone::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23fff' d='M8 2h8a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm4 18a1.3 1.3 0 1 0 0-2.6A1.3 1.3 0 0 0 12 20z'/></svg>");
}

.aiport-firmy-contact-cta--email::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='%23fff' stroke-width='1.8' d='M3.5 7.5h17v9h-17z'/><path fill='none' stroke='%23fff' stroke-width='1.8' d='M3.8 8l8.2 6 8.2-6'/></svg>");
}

.aiport-firmy-contact-cta:hover,
.aiport-firmy-contact-cta:focus-visible {
  color: #fff !important;
  text-decoration: none !important;
  filter: brightness(1.04);
}

.aiport-firmy-contact-photo {
  width: 120px;
  height: 120px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 50% !important;
  display: block;
}

.aiport-firmy-contact-sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.aiport-firmy-contact-sidebar .aiport-firmy-contact-identity {
  margin: 4px 0 20px;
}

.aiport-firmy-contact-sidebar .aiport-firmy-contact-identity:last-child {
  margin-bottom: 0;
}

.aiport-firmy-contact-sidebar .aiport-firmy-contact-cta {
  margin: 0 0 20px !important;
}

.aiport-firmy-contact-sidebar .aiport-firmy-contact-cta:last-child {
  margin-bottom: 0 !important;
}

.aiport-firmy-contact-sidebar .aiport-firmy-contact-additional {
  width: 100%;
}

.aiport-firmy-contact-sidebar .aiport-firmy-contact-additional h5 {
  margin: 0 0 8px;
}

.aiport-firmy-contact-sidebar .aiport-firmy-contact-additional p {
  margin: 0;
}

.aiport-firmy-contact-identity {
  margin: 4px 0 12px;
}

.aiport-firmy-contact-name {
  display: block;
  font-weight: 700 !important;
  color: var(--af-text, #13111b);
  font-size: 24px !important;
  line-height: 1.3;
}

.aiport-firmy-contact-sidebar .aiport-firmy-contact-name {
  font-size: 16px !important;
}

.aiport-firmy-contact-position {
  display: block;
  margin-top: 2px;
  font-weight: 400 !important;
  color: var(--af-text, #13111b);
  line-height: 1.35;
}

@media (max-width: 767px) {
  .aiport-firmy-contact-name {
    font-size: 22px !important;
  }
}

/* Listing page hero (Lista) - keep text selectable even with Elementor overlays/deferred scripts. */
.elementor .elementor-top-section.aiport-firmy-listing-hero-select,
.elementor .elementor-top-section.aiport-firmy-listing-hero-select * {
  user-select: text !important;
  -webkit-user-select: text !important;
}

.elementor .elementor-top-section.aiport-firmy-listing-hero-select *::selection {
  background: rgba(255, 255, 255, 0.35) !important;
  color: #1f003b !important;
}

.elementor .elementor-top-section.aiport-firmy-listing-hero-select *::-moz-selection {
  background: rgba(255, 255, 255, 0.35) !important;
  color: #1f003b !important;
}

.elementor .elementor-top-section.aiport-firmy-listing-hero-select > .elementor-background-overlay,
.elementor .elementor-top-section.aiport-firmy-listing-hero-select > .elementor-motion-effects-container,
.elementor .elementor-top-section.aiport-firmy-listing-hero-select > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor .elementor-top-section.aiport-firmy-listing-hero-select > .elementor-background-video-container {
  pointer-events: none !important;
}

.elementor .elementor-top-section.aiport-firmy-listing-hero-select > .elementor-container,
.elementor .elementor-top-section.aiport-firmy-listing-hero-select > .elementor-container > .elementor-column,
.elementor .elementor-top-section.aiport-firmy-listing-hero-select .elementor-widget-wrap {
  position: relative !important;
  z-index: 3 !important;
  pointer-events: auto !important;
}

.elementor .elementor-top-section.aiport-firmy-listing-hero-select *::before,
.elementor .elementor-top-section.aiport-firmy-listing-hero-select *::after {
  pointer-events: none !important;
}

.elementor .elementor-top-section.aiport-firmy-listing-hero-select input,
.elementor .elementor-top-section.aiport-firmy-listing-hero-select select,
.elementor .elementor-top-section.aiport-firmy-listing-hero-select button,
.elementor .elementor-top-section.aiport-firmy-listing-hero-select textarea,
.elementor .elementor-top-section.aiport-firmy-listing-hero-select label {
  pointer-events: auto !important;
}

.aiport-firmy-address-company {
  display: block;
  font-weight: 700 !important;
  color: var(--af-text, #13111b);
}

.aiport-firmy-socials {
  list-style: none;
  margin: 0;
  padding: 0;
}

.aiport-firmy-socials li {
  margin: 0 0 4px;
  font-weight: 700 !important;
}

.aiport-firmy-socials li:last-child {
  margin-bottom: 0;
}

.aiport-firmy-socials a {
  color: var(--af-text, #13111b);
  text-decoration: none;
  font-weight: 700 !important;
}

.aiport-firmy-socials a:hover,
.aiport-firmy-socials a:focus-visible {
  color: var(--af-text, #13111b);
  text-decoration: underline;
  font-weight: 700 !important;
}

.aiport-category-tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 16px;
}

.aiport-category-tile {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  border: 1px solid #ffffff30;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  padding: 30px;
  min-height: 176px;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.aiport-category-tile:hover,
.aiport-category-tile:focus-visible {
  border-color: #ffffff80;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.aiport-category-tile-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  color: #fff;
  line-height: 1;
  flex-shrink: 0;
  box-sizing: border-box;
}

.aiport-category-tile-icon i {
  font-size: 24px !important;
  line-height: 1;
  color: inherit;
}

.aiport-category-tile-title,
.aiport-category-tile strong {
  display: block;
  margin: 0 0 5px;
  color: #fff;
  font-size: 1.285em !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  font-family: var(--ui-font, "Public Sans", system-ui, sans-serif);
  text-align: center !important;
}

.aiport-category-tile-desc {
  display: block;
  margin: 0;
  color: #fff;
  opacity: 1;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-family: var(--body-font, "Public Sans", system-ui, sans-serif);
  text-align: center !important;
}

.aiport-category-tile.is-active {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95);
}

.aiport-lista-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
}

.aiport-sidebar-box {
  background: var(--af-surface);
  border: 1px solid var(--af-border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}

.aiport-sidebar-box h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.aiport-sidebar-box ul {
  margin: 0;
  padding-left: 16px;
}

.aiport-sidebar-box .aiport-category-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.aiport-sidebar-box .aiport-category-links li {
  margin: 0;
}

.aiport-sidebar-box .aiport-category-links li + li {
  margin-top: 6px;
}

.aiport-sidebar-box .aiport-category-links li a {
  text-decoration: none;
  color: var(--af-text);
}

.aiport-sidebar-box .aiport-category-links .aiport-category-count {
  color: #7b758b;
  font-size: 12px;
}

.aiport-sidebar-box li {
  margin: 4px 0;
}

.aiport-sidebar-box li.is-active a {
  color: var(--af-primary);
  font-weight: 700;
}

.aiport-lista-section {
  margin-bottom: 18px;
}

.aiport-lista-section h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.aiport-firmy-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
}

.aiport-firmy-pagination-link,
.aiport-firmy-pagination-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #dedede;
  background: #fff;
  color: var(--af-text, #13111b);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.aiport-firmy-pagination-link:hover,
.aiport-firmy-pagination-link:focus-visible {
  border-color: var(--af-primary, #8c35ef);
  color: var(--af-primary, #8c35ef);
  text-decoration: none;
}

.aiport-firmy-pagination-link.is-current {
  border-color: var(--af-primary, #8c35ef);
  background: var(--af-primary, #8c35ef);
  color: #fff;
}

.aiport-firmy-pagination-dots {
  border-color: transparent;
  background: transparent;
  min-width: 24px;
  padding: 0 4px;
}

.aiport-firmy-list-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--af-border);
  border-radius: 12px;
  background: var(--af-surface);
  padding: 14px;
  margin-bottom: 10px;
}

.aiport-firmy-list-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.aiport-firmy-list-logo img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.aiport-firmy-list-fallback-logo {
  display: inline-block;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: #2f0a5f;
}

.aiport-firmy-list-content h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.aiport-firmy-list-content h3 a {
  color: var(--af-text);
  text-decoration: none;
}

.aiport-firmy-list-excerpt {
  margin: 0 0 8px;
  color: #5e5a6a;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.aiport-firmy-list-category {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #3f3a50;
  font-weight: 700;
}

.aiport-firmy-related-posts--cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.aiport-firmy-related-post-card {
  min-width: 0;
}

.aiport-firmy-related-post-thumb {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #d6d6e2;
}

.aiport-firmy-related-post-thumb img,
.aiport-firmy-related-post-thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.aiport-firmy-related-post-thumb img {
  object-fit: cover;
}

.aiport-firmy-related-post-thumb-placeholder {
  background: linear-gradient(135deg, #dddce7 0%, #f2f2f7 100%);
}

.aiport-firmy-related-post-category {
  display: inline-block;
  margin: -28px 0 12px;
  padding: 4px 10px;
  border-radius: 2px;
  background: var(--af-primary, #8c35ef);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.aiport-firmy-related-post-title {
  margin: 0 0 10px;
  font-size: clamp(16px, 1.3vw, 22px);
  line-height: 1.2;
}

.aiport-firmy-related-post-title a {
  color: var(--af-text, #13111b);
  text-decoration: none;
}

.aiport-firmy-related-post-title a:hover,
.aiport-firmy-related-post-title a:focus-visible {
  text-decoration: underline;
}

.aiport-firmy-related-post-meta {
  margin: 0 0 10px;
  color: #6a6578;
  font-size: 12px;
}

.aiport-firmy-related-post-excerpt {
  margin: 0;
  color: #3b3646;
  font-size: 14px;
  line-height: 1.45;
}

.aiport-firmy-badge-premium {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 15px !important;
  margin-bottom: 8px;
  background: var(--af-primary, #8c35ef);
  color: #fff !important;
  text-decoration: none;
  border-radius: 25px !important;
  padding: 10px 20px !important;
  min-height: 40px !important;
  font-family: var(--e-global-typography-accent-font-family, var(--e-global-typography-text-font-family, Barlow, system-ui, -apple-system, "Segoe UI", sans-serif)) !important;
  font-size: 14px !important;
  font-weight: var(--e-global-typography-accent-font-weight, 500) !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  box-sizing: border-box !important;
  letter-spacing: normal !important;
}

.aiport-firmy-badge-premium::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23fff' d='M12 2l7 3v6c0 5-3.4 9.6-7 11-3.6-1.4-7-6-7-11V5l7-3z'/></svg>");
  background-repeat: no-repeat;
  background-size: 16px 16px;
}

.aiport-firmy-badge-premium:hover,
.aiport-firmy-badge-premium:focus-visible {
  color: #fff !important;
  text-decoration: none;
  filter: brightness(1.04);
}

.aiport-firmy-empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.aiport-firmy-empty-state p {
  margin: 0;
}

.aiport-firmy-reset-button {
  position: static !important;
  top: auto !important;
  right: auto !important;
  margin: 0 !important;
  gap: 0 !important;
}

.aiport-firmy-reset-button::before {
  content: none !important;
  display: none !important;
}

.aiport-firmy-list--elementor .aiport-firmy-list-card--elementor {
  position: relative;
  overflow: visible;
  align-items: center;
  border: 1px solid #dedede;
  border-radius: 10px;
  background: #fff !important;
  padding: 22px 24px;
}

.aiport-firmy-list--elementor .aiport-firmy-list-card--elementor.is-premium {
  border: 3px solid var(--af-primary, #8c35ef);
}

.aiport-firmy-list--elementor .aiport-firmy-list-card--elementor .aiport-firmy-badge-premium {
  position: absolute;
  top: -20px;
  right: 18px;
  margin: 0;
  z-index: 2;
}

.aiport-firmy-list--elementor .aiport-firmy-list-card--elementor .aiport-firmy-list-logo img {
  max-width: 160px;
}

.aiport-firmy-list--elementor .aiport-firmy-list-card--elementor .aiport-firmy-list-content h3 {
  font-size: 24px;
}

.aiport-karta-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px;
}

.aiport-karta-box,
.aiport-karta-section {
  background: var(--af-surface);
  border: 1px solid var(--af-border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}

.aiport-karta-box h4,
.aiport-karta-section h2,
.aiport-karta-section h3 {
  margin-top: 0;
}

.aiport-karta-logo img {
  max-width: 100%;
  height: auto;
}

.aiport-karta-contact-photo img {
  width: 200px;
  height: 200px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 50% !important;
  display: block;
}

.aiport-btn {
  display: inline-block;
  background: var(--af-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 700;
}

.aiport-firmy-services {
  display: grid;
  gap: 10px;
}

.aiport-firmy-service-card {
  border: 1px solid #dedede !important;
  border-radius: 10px;
  padding: 22px 24px;
  background: #fff !important;
}

.aiport-firmy-service-card h3 {
  margin: 0 0 18px;
  color: var(--af-text);
  line-height: 1.2;
}

.aiport-firmy-service-card p {
  margin: 0;
  color: var(--af-text);
  line-height: 1.55;
}

.aiport-firmy-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aiport-firmy-keyword {
  border: 1px solid var(--af-border);
  background: var(--af-muted);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
}

.aiport-video-embed iframe {
  width: 100%;
  min-height: 340px;
}

@media (max-width: 1024px) {
  .aiport-lista-grid,
  .aiport-karta-layout {
    grid-template-columns: 1fr;
  }

  .aiport-category-tiles {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
}

@media (max-width: 720px) {
  .aiport-lista-search-form {
    grid-template-columns: 1fr;
  }

  .aiport-category-tiles {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .aiport-firmy-list-card {
    grid-template-columns: 1fr;
  }

  .aiport-lista-hero h2 {
    font-size: 28px;
  }
}

@media (max-width: 900px) {
  .aiport-firmy-related-posts--cards {
    grid-template-columns: 1fr;
  }
}
