/* Wyszukiwarka — ciemne tło, lista wyników z okrągłymi zdjęciami po lewej */

.ps-search-section {
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

.ps-search-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/images/hero-banner.jpeg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
}

.ps-search-section > .container {
  position: relative;
  z-index: 1;
}

.ps-search-hero {
  text-align: center;
  margin-bottom: 2.25rem;
  width: 100%;
}

.ps-search-main-title {
  margin: 0 0 0.75rem;
  font-family: "Raleway", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  text-align: center;
}

.ps-search-main-intro {
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 36rem;
  width: 100%;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
  text-align: center;
  text-wrap: balance;
}

.ps-search-main-intro strong {
  color: #ff6b93;
  font-weight: 700;
}

.ps-search-jezyki {
  margin: 1.35rem auto 0;
  max-width: 36rem;
  padding: 0 1rem;
  text-align: center;
}

.ps-search-jezyki-label {
  margin: 0 0 0.65rem;
  font-family: "Raleway", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888888;
  font-weight: 700;
}

.ps-search-jezyki-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1rem;
}

.ps-search-jezyki-option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Raleway", sans-serif;
  font-size: 0.92rem;
  color: #dddddd;
  cursor: pointer;
  user-select: none;
}

.ps-search-jezyki-option input {
  accent-color: #ff356f;
  width: 1rem;
  height: 1rem;
  margin: 0;
  cursor: pointer;
}

/* Nadpisanie globalnych styli .ml-lp-40 (h1 49px, h2 48px itd.) */
.ml-lp-40 .ps-search-main-title {
  font-size: clamp(1.65rem, 3vw, 2.15rem) !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  margin: 0 0 0.75rem !important;
  text-align: center !important;
  color: #ffffff !important;
}

.ml-lp-40 .ps-search-main-intro {
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: #cccccc !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.ml-lp-40 .ps-panel-title {
  font-size: 1.4rem !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-align: center !important;
}

.ml-lp-40 .ps-panel-intro {
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  color: #bbbbbb !important;
  margin: 0 !important;
  text-align: center !important;
}

.ml-lp-40 .ps-panel-hint,
.ml-lp-40 .ps-search-examples {
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
  color: #666666 !important;
  margin: 0 !important;
}

.ps-search-layout {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  font-family: "Raleway", sans-serif;
}

.ps-search-or {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 0 0.15rem;
}

.ps-search-or span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 53, 111, 0.45);
  background: rgba(255, 53, 111, 0.1);
  color: #ff6b93;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ps-search-panel {
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.ps-search-panel.is-dimmed {
  opacity: 0.38;
  filter: grayscale(0.15);
  pointer-events: none;
  user-select: none;
}

.ps-search-col,
.ps-ai-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem 1.15rem;
  border: 1px solid rgba(255, 53, 111, 0.32);
  border-radius: 10px;
  background: #0d0d0d;
  box-sizing: border-box;
}

#ps-ai-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  min-height: 100%;
}

.ps-panel-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  margin: 0;
}

.ps-method-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 53, 111, 0.15);
  border: 1px solid rgba(255, 53, 111, 0.35);
  color: #ff6b93;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: center;
}

.ps-panel-head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.75rem;
  margin: 0;
}

.ps-panel-head--speak {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
}

.ps-panel-head--speak .ps-panel-title {
  justify-self: center;
}

.ps-field-inner {
  position: relative;
}

.ps-field-clear {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  box-sizing: border-box;
  border: 1px solid rgba(255, 53, 111, 0.55);
  background: rgba(255, 53, 111, 0.12);
  color: #ff6b93;
  width: 1.75rem;
  height: 1.75rem;
  min-width: 1.75rem;
  min-height: 1.75rem;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, visibility 0.2s ease;
}

.ps-field-clear:hover {
  background: #ff356f;
  border-color: #ff356f;
  color: #ffffff;
}

.ps-speak-mascot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  flex-shrink: 0;
}

.ps-speak-mascot-name {
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ff6b93;
  text-align: center;
  white-space: nowrap;
}

.ps-panel-title {
  margin: 0;
  min-width: 0;
  font-family: "Raleway", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  text-align: center;
  justify-self: center;
  width: 100%;
}

.ps-panel-title--nowrap {
  white-space: nowrap;
}

.ps-panel-intro {
  margin: 0;
  min-height: 4.75rem;
  color: #bbbbbb;
  font-size: 0.95rem;
  line-height: 1.55;
}

.ps-field-wrap {
  margin: 0;
}

.ps-field-wrap.form-group {
  margin-bottom: 0 !important;
}

.ps-ai-bot-icon {
  width: 2.75rem;
  height: auto;
  display: block;
  filter: drop-shadow(0 3px 10px rgba(255, 53, 111, 0.25));
  animation: ps-bot-wiggle 3.5s ease-in-out infinite;
}

.ps-search-field {
  display: block;
  width: 100%;
  height: 8.5rem !important;
  min-height: 8.5rem !important;
  max-height: 8.5rem !important;
  box-sizing: border-box;
  padding: 0.9rem 2.75rem 0.9rem 1rem;
  font-family: "Raleway", sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
  font-weight: 400;
  color: #ffffff !important;
  background: #111111 !important;
  border: 1px solid #444444 !important;
  border-radius: 8px;
  resize: none !important;
  overflow-y: auto;
  text-align: left !important;
  vertical-align: top;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input.ps-search-field {
  overflow-y: auto;
  -webkit-appearance: none;
  appearance: none;
}

input.ps-search-field::-webkit-search-cancel-button,
input.ps-search-field::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.ps-search-field::placeholder {
  color: #888888;
  opacity: 1;
}

.ps-search-field:focus {
  border-color: #ff356f !important;
  box-shadow: 0 0 0 0.15rem rgba(255, 53, 111, 0.25) !important;
  outline: none;
}

@keyframes ps-bot-wiggle {
  0%, 88%, 100% { transform: rotate(0deg); }
  90% { transform: rotate(-6deg); }
  94% { transform: rotate(6deg); }
  98% { transform: rotate(-3deg); }
}

.ps-panel-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  min-height: 2.75rem;
}

.ps-panel-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 13.5rem !important;
  min-width: 13.5rem !important;
  max-width: 13.5rem !important;
  height: 2.75rem !important;
  font-family: "Raleway", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  padding: 0 1rem !important;
  border: none !important;
  border-radius: 3px;
  background-color: #ff356f !important;
  color: #ffffff !important;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ps-panel-btn:hover,
.ps-panel-btn:focus {
  background-color: #007bff !important;
  color: #ffffff !important;
}

.ps-panel-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ps-panel-hint {
  margin: 0;
  text-align: center;
  font-size: 0.88rem;
  color: #666666 !important;
  line-height: 1.45;
  min-height: 2.6rem;
}

.ps-panel-hint--spacer,
.ps-ai-status--spacer {
  margin: 0;
  min-height: 2.6rem;
  visibility: hidden;
}

.ps-ai-status--spacer:empty::before {
  content: "\00a0";
}

.ps-search-examples em {
  font-style: italic;
  color: #999999;
}

@media (min-width: 992px) {
  .ps-search-layout {
    gap: 1.25rem;
  }
}

@media (max-width: 991px) {
  .ps-search-layout {
    flex-direction: column;
    gap: 1.25rem;
  }

  .ps-search-or {
    align-self: center;
    padding: 0.25rem 0;
  }

  .ps-panel-title--nowrap {
    white-space: normal;
  }

  .ps-panel-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 16rem !important;
  }
}

.container-fluid.ml-lp-41 {
  background-color: #000000;
  padding-bottom: 60px;
  padding-top: 10px;
}

#ps-search-meta {
  color: #ffffff !important;
  font-family: "Raleway", sans-serif;
}

#ps-search-meta:empty {
  display: none;
}

.ps-search-actions {
  display: flex;
  justify-content: center;
  margin: 0 auto 1.25rem;
  max-width: 820px;
}

.ps-search-actions--bottom {
  margin: 1.5rem auto 0;
}

.ps-search-actions.ps-is-hidden {
  display: none !important;
}

.ps-download-result-btn {
  appearance: none;
  border: 1px solid rgba(255, 53, 111, 0.65);
  border-radius: 999px;
  background:
    linear-gradient(
      168deg,
      rgba(255, 53, 111, 0.28) 0%,
      rgba(255, 53, 111, 0.12) 100%
    );
  color: #ffffff;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.6rem;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.ps-download-result-btn:hover {
  transform: translateY(-1px);
  border-color: #ff356f;
  background: #ff356f;
}

#ps-search-results {
  max-width: 820px;
  margin: 0 auto;
}

.ps-search-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: #cccccc;
  font-family: "Raleway", sans-serif;
}

.ps-speaker-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  width: 100%;
  padding: 1.25rem 1.5rem 1.25rem 1rem;
  margin-bottom: 1rem;
  background: #111111;
  border: 1px solid #333333;
  border-radius: 8px;
  font: inherit;
  color: inherit;
  text-align: left;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.ps-speaker-card:hover {
  border-color: #ff356f;
  box-shadow: 0 4px 16px rgba(255, 53, 111, 0.15);
  background-color: #1a1a1a;
  text-decoration: none;
  color: inherit;
}

.ps-speaker-select {
  flex-shrink: 0;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.35rem;
  cursor: pointer;
}

.ps-speaker-select-input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: #ff356f;
  cursor: pointer;
}

.ps-speaker-card-main {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.ps-speaker-photo {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff356f;
}

.ps-speaker-info {
  flex: 1;
  min-width: 0;
}

.ps-speaker-name {
  font-family: "Raleway", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #ffffff;
}

.ps-speaker-card:hover .ps-speaker-name {
  color: #ff356f;
}

.ps-speaker-desc {
  font-size: 0.88rem;
  color: #bbbbbb;
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.ps-speaker-topics {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ps-speaker-topics li {
  font-size: 0.9rem;
  padding: 0.2rem 0;
  color: #ffffff;
  line-height: 1.4;
}

.ps-speaker-topics li::before {
  content: "• ";
  color: #ff356f;
  font-weight: bold;
}

.ps-match {
  background: rgba(9, 194, 105, 0.35);
  color: #ffffff;
  padding: 0 2px;
  border-radius: 2px;
}

.ps-result-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.ps-result-modal.ps-is-hidden {
  display: none !important;
}

.ps-result-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ps-result-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(84vh, 720px);
  overflow: auto;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(28, 28, 28, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.ps-result-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.ps-result-modal-close:hover {
  background: #ff356f;
}

.ps-result-modal-title {
  margin: 0 2rem 0.4rem 0;
  font-family: "Raleway", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
}

.ps-result-modal-meta {
  margin: 0 0 1.1rem;
  color: #bbbbbb;
  font-size: 0.95rem;
}

.ps-result-send-form {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.ps-result-send-label {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.ps-result-send-email {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ps-result-send-email::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.ps-result-send-email:focus {
  border-color: rgba(255, 53, 111, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 53, 111, 0.18);
}

.ps-result-send-rodo {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0;
  cursor: pointer;
  color: #cfcfcf;
  font-size: 0.84rem;
  line-height: 1.45;
}

.ps-result-send-checkbox {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: #ff356f;
  cursor: pointer;
}

.ps-result-send-btn {
  appearance: none;
  border: 1px solid rgba(255, 53, 111, 0.65);
  border-radius: 999px;
  background: #ff356f;
  color: #ffffff;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.8rem 1.4rem;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.ps-result-send-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #ea2f64;
}

.ps-result-send-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
  background: rgba(255, 53, 111, 0.35);
  border-color: rgba(255, 53, 111, 0.28);
}

.ps-result-send-status {
  margin: 0;
  min-height: 1.2rem;
  font-size: 0.88rem;
  color: #bbbbbb;
}

.ps-result-send-status.is-error {
  color: #ff6b6b;
}

.ps-result-send-status.is-success {
  color: #6fdc9a;
}

.ps-result-modal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.ps-result-modal-item {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ps-result-modal-item:hover {
  border-color: rgba(255, 53, 111, 0.55);
  background: rgba(255, 53, 111, 0.08);
}

.ps-result-modal-index {
  flex-shrink: 0;
  width: 1.5rem;
  color: #ff6b93;
  font-weight: 700;
  text-align: center;
}

.ps-result-modal-photo {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff356f;
}

.ps-result-modal-photo--empty {
  display: inline-block;
  background: #222222;
  border-color: #444444;
}

.ps-result-modal-info {
  min-width: 0;
  flex: 1;
}

.ps-result-modal-name {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.ps-result-modal-desc {
  margin: 0.25rem 0 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #b7b7b7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.ps-result-modal-open {
  overflow: hidden;
}

.ps-ai-panel {
  margin: 0;
}

.ps-ai-status {
  margin: 0;
  text-align: center;
  color: #cccccc;
  font-size: 0.92rem;
  min-height: 1.25rem;
  font-family: "Raleway", sans-serif;
}

.ps-ai-status:empty {
  display: none;
}

.ps-ai-status.is-error {
  color: #ff6b6b;
}

.ps1-modal-back-results {
  display: block;
  width: 100%;
  margin: 0 0 1.25rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 53, 111, 0.5);
  border-radius: 8px;
  background: rgba(255, 53, 111, 0.14);
  color: #ff6b93;
  font-family: "Raleway", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ps1-modal-back-results:hover {
  background: #ff356f;
  color: #ffffff;
}

.ps1-modal-card .ps1-modal-close {
  z-index: 2;
}

.ps-is-hidden {
  display: none !important;
}

.ps-panel-clear.ps-is-hidden,
.ps-field-clear.ps-is-hidden {
  display: inline-flex !important;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 576px) {
  .ps-speaker-card {
    flex-direction: row;
    align-items: flex-start;
  }

  .ps-speaker-card-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ps-speaker-topics {
    text-align: left;
  }

  .ps-search-field {
    height: 7rem !important;
    min-height: 7rem !important;
    max-height: 7rem !important;
  }
}
