/*
 Theme Name: Hello Child
 Theme URI:  https://example.com/hello-child
 Description: Child theme for Hello Elementor — adds a global single post layout with featured image + title.
 Author: Your Name
 Template: hello-elementor
 Version: 1.1.0
*/

/* Global styles for child theme */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* layout dla pojedynczego wpisu */
.single-post-layout .wrap {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* treść */
.single-post-layout .post-main {
  flex: 3;
  min-width: 0;
}

/* featured image */
.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 1rem;
  object-fit: cover;
}

/* header */
.post-header .entry-title {
  font-size: 2rem;
  margin: 0 0 .25rem 0;
  line-height: 1.15;
}

.post-meta {
  color: #666;
  font-size: .95rem;
  margin-bottom: 1.25rem;
}

/* sidebar */
.single-post-layout .post-sidebar {
  flex: 1;
  min-width: 220px;
  background: #f8f8f8;
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.04);
}

/* tytuły widgetów */
.single-post-layout .post-sidebar .widget-title {
  margin-bottom: 12px;
  font-weight: 600;
}

/* responsywność */
@media (max-width: 768px) {
  .single-post-layout .wrap {
    flex-direction: column;
  }
  .single-post-layout .post-sidebar {
    margin-top: 20px;
  }
}
