/*
 Theme Name: Astra Child
 Template: astra
 Version: 1.0
*/
/* === Parametry techniczne – sekcja główna === */
/* === Sekcja Parametry Techniczne (Kopi Serwis) === */

.specs-section {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-bottom: 6px solid #cf0a2c; /* branding kolor */
  border-radius: 8px;
  padding: 24px;
  max-width: 1000px;
  margin: 3rem auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.specs-section h3 {
  font-size: 22px;
  color: #cf0a2c;
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
  font-weight: 700;
  text-align: left;
}

/* ✅ ZAWSZE 2 kolumny na desktopie – wymuszone */
.specs-table {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px;
  font-family: "Segoe UI", sans-serif;
  font-size: 16px;
}

/* ✅ Każdy element parametru */
.specs-table div {
  background-color: #fff;
  border-bottom: 3px solid #cf0a2c;
  border-radius: 6px;
  padding: 16px 18px 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.specs-table div:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ✅ Nagłówek parametru */
.specs-table div strong {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: #111;
  margin-bottom: 6px;
}

/* ✅ Na mobile tylko 1 kolumna */
@media (max-width: 768px) {
  .specs-table {
    grid-template-columns: 1fr !important;
  }
}

/* === Sekcja nagłówka wpisu (karta produktu) === */
/* === Ogólne wyrównanie dla całego wpisu === */
.single-post .site-content,
.single-post .ast-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* === Sekcja z nagłówkiem, zdjęciem i tagami === */
.ast-single-entry-banner {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  margin: 3rem auto 2.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.ast-single-entry-banner .post-thumb {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.ast-single-entry-banner .post-thumb img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ast-single-entry-banner .entry-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: #111;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.ast-single-entry-banner .entry-meta {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 0.8rem;
}

.ast-single-entry-banner .entry-meta a {
  color: #cf0a2c;
  text-decoration: none;
}

.ast-single-entry-banner .entry-meta a:hover {
  text-decoration: underline;
}

.ast-breadcrumbs-wrapper {
  text-align: center;
  font-size: 14px;
  color: #999;
  margin-bottom: 0.5rem;
}

.ast-breadcrumbs-wrapper a {
  color: #cf0a2c;
  text-decoration: none;
}

/* === Treść wpisu === */
.single-post .entry-content {
  font-size: 17px;
  line-height: 1.75;
  color: #333;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.single-post .entry-content p {
  margin-bottom: 1.4em;
}

.single-post .entry-content strong {
  color: #111;
  font-weight: 600;
}

/* === Parametry techniczne w ramce === */
.specs-section {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 2rem;
  margin: 3rem auto;
  max-width: 1000px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.specs-section h3 {
  font-size: 22px;
  color: #cf0a2c;
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
  margin-bottom: 1.5rem;
  text-align: left;
}

.specs-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  font-size: 16px;
}

.specs-table div {
  background-color: #fff;
  border-bottom: 3px solid #cf0a2c;
  border-radius: 6px;
  padding: 16px 18px 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.specs-table div:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.specs-table div strong {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  color: #111;
}

/* === Sekcja „Podobne wpisy” === */
.ast-related-posts-title-section {
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 1rem;
}

.ast-related-posts-title {
  font-size: 22px;
  color: #cf0a2c;
  margin-bottom: 1rem;
}

/* === Komentarze (opcjonalnie) === */
.comments-area {
  max-width: 800px;
  margin: 4rem auto;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 2rem;
}
