/*
Theme Name: Straż Miejska Jasło — Restored
Description: Classic WordPress theme assembled from the archived Jasło site.
Version: 1.0.0
Text Domain: restored-jaslo
*/

/* Layout styles are recovered from the original theme and loaded per page. */
.restored-hero { position: relative; height: min(48vw, 600px); min-height: 270px; overflow: hidden; background: #263b58; }
.restored-hero > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.restored-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.35),transparent); }
.restored-hero-title { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: white; font: 800 clamp(30px,5vw,70px)/1.2 'Open Sans',Roboto,sans-serif; text-shadow: 0 2px 8px #0008; }
.restored-hero-title span { display: inline; }
#load { display: none !important; }
.restored-video { width: 100%; aspect-ratio: 16/9; border: 0; display: block; margin: 0 0 20px; }
.restored-contact-form [aria-disabled=true] { opacity: .5; pointer-events: none; }
.restored-form-note { font-size: 14px; }
.restored-list { display: grid; gap: 36px; }
.restored-list article { border-bottom: 1px solid #ddd; padding-bottom: 30px; }
.restored-list .restored-thumb { float: left; width: min(35%,280px); margin: 0 24px 12px 0; }
.restored-list .restored-thumb img { width: 100%; height: auto; }
.restored-list article::after { content: ''; display: block; clear: both; }
.restored-list h2 { margin-top: 0; }
.restored-pagination { display: flex; gap: 12px; margin: 35px 0; flex-wrap: wrap; }
.restored-pagination a, .restored-pagination span { padding: 8px 14px; border: 1px solid #ddd; }
.restored-pagination .current { background: #12335a; color: white; }
.restored-search { display: flex; gap: 8px; max-width: 600px; margin: 20px 0; }
.restored-search input { flex: 1; min-width: 0; }
.restored-menu-open .dt-mobile-header { transform: translateX(0) !important; visibility: visible !important; opacity: 1 !important; }
.restored-menu-open .dt-mobile-menu-icon { z-index: 999; }
@media (max-width: 767px) {
  .restored-list .restored-thumb { float: none; display: block; width: 100%; margin: 0 0 18px; }
  .restored-hero { height: 330px; }
  .restored-hero-title { font-size: clamp(26px,6.5vw,48px); }
  #content { min-width: 0; }
  .entry-content table { display: block; overflow-x: auto; max-width: 100%; }
}
