/*
Theme Name: Elegant
Theme URI: https://frontendme.pl
Author: Michał Winiarski
Author URI: https://frontendme.pl
Description: Motyw dla kancelarii prawniczej. Strona główna z hero, usługi, opinie, O mnie, blog, FAQ i kontakt. Wielojęzyczność (Polylang), Customizer do treści, elegancki układ w odcieniach stone i amber.
Version: 1.0.0
Text Domain: elegant
*/

/* Picture z WebP – wypełnia kontener (np. karta usług) */
.elegant-picture-block {
  display: block;
  width: 100%;
  height: 100%;
}
.elegant-picture-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #fff;
  color: #1c1917;
}

/* Zapasowe style – widoczne dopóki nie załaduje się assets/css/main.css */
.site-header {
  background: #fafaf9;
  border-bottom: 1px solid #e7e5e4;
  padding: 1rem 0;
}
.site-header .container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.site-main {
  min-height: 50vh;
  padding: 2rem 0;
}
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.site-footer {
  background: #1c1917;
  color: #a8a29e;
  padding: 2rem 0;
  margin-top: 2rem;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer a {
  color: #a8a29e;
}
.site-footer a:hover {
  color: #d97706;
}
.page-title,
.entry-content {
  margin: 0 0 1rem;
}
.entry-content p {
  margin: 0 0 0.75rem;
}

/* Treść pojedynczego wpisu (blog) – nagłówki, listy, obrazki */
.single-post .elegant-entry-content {
  font-family: Inter, system-ui, sans-serif;
  color: #44403c;
  line-height: 1.625;
}

.single-post .elegant-entry-content > * + * {
  margin-top: 1.25rem;
}

.single-post .elegant-entry-content h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.3;
  color: #1c1917;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.single-post .elegant-entry-content h2:first-child {
  margin-top: 0;
}

.single-post .elegant-entry-content h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.4;
  color: #292524;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.single-post .elegant-entry-content p {
  margin: 0 0 1rem;
}

.single-post .elegant-entry-content ul,
.single-post .elegant-entry-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.single-post .elegant-entry-content ul {
  list-style: none;
  padding-left: 0;
}

.single-post .elegant-entry-content ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.single-post .elegant-entry-content ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #b45309;
  font-weight: 600;
}

.single-post .elegant-entry-content ol {
  list-style: decimal;
}

.single-post .elegant-entry-content ol li {
  margin-bottom: 0.5rem;
}

.single-post .elegant-entry-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
}

.single-post .elegant-entry-content figure {
  margin: 1.5rem 0;
}

.single-post .elegant-entry-content figure img {
  margin: 0;
}

.single-post .elegant-entry-content figcaption {
  font-size: 0.875rem;
  color: #78716c;
  margin-top: 0.5rem;
}

/* Gdy załaduje się main.css z builda, pełny wygląd nadpisze powyższe */
