/*
Theme Name: LBS Native
Description: Wierna migracja szablonów Lubelskiej Szkoły Biznesu do WordPress.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: lbs-native
*/
/* The original /css/app.css owns the layout. Only integration/accessibility fixes below. */
.lbs-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.projekt-content__main, .list-news--full { min-width: 0; overflow-wrap: anywhere; }
.lbs-table-scroll { max-width: 100%; overflow-x: auto; }
.lbs-table-scroll:focus { outline: 2px solid #ef2a5d; outline-offset: 2px; }
.lbs-table-scroll table { overflow-wrap: normal; }
.has-submenu:focus-within .submenu { opacity: 1; padding: .5rem .5rem 1rem; height: auto; }
.lbs-partner-text { display: inline-block; padding: 1rem; font-size: 1.5rem; font-weight: 700; }
/* Project rows: long source descriptions must not squeeze adjacent columns.
   Keep the original three-column identity at wide widths, align to the top,
   and place the action below the description on laptops. */
.lista-projektow__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
}
.lista-projektow__item > .projekt__skrot,
.lista-projektow__item > .projekt__body,
.lista-projektow__item > .projekt__nav { margin: 0; min-width: 0; }
.lista-projektow__item .projekt__skrot > .flex {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1rem;
}
.lista-projektow__item .skrot__label { min-width: 0; margin-right: 0; }
.lista-projektow__item .skrot__value { max-width: none; min-width: 0; }
.lista-projektow__item .projekt__body,
.lista-projektow__item .skrot__value { overflow-wrap: break-word; }
.lista-projektow__item .projekt__title { margin-top: 0; }
@media (max-width: 639px) {
  .lista-projektow__item .projekt__skrot > .flex { grid-template-columns: minmax(0, 1fr); gap: .25rem; margin-top: .75rem; }
}
@media (min-width: 900px) {
  .lista-projektow__item { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); grid-template-rows: min-content 1fr; column-gap: 2rem; }
  .lista-projektow__item > .projekt__skrot { grid-column: 1; grid-row: 1 / span 2; }
  .lista-projektow__item > .projekt__body { grid-column: 2; grid-row: 1; }
  .lista-projektow__item > .projekt__nav { grid-column: 2; grid-row: 2; }
}
@media (min-width: 1200px) {
  .lista-projektow__item { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) max-content; }
  .lista-projektow__item > .projekt__skrot { grid-row: 1; }
  .lista-projektow__item > .projekt__nav { grid-column: 3; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) { .wow { animation: none !important; visibility: visible !important; } }
