/*
 Theme Name:   Twenty Eleven Child
 Template:     twentyeleven
*/
/* Add space between date and image */
.entry-meta {
  margin-bottom: 15px; /* Space below date */
}

/* Make post thumbnail full width & remove white margin */
.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* optional - gives smooth edges */
  margin: 0;
  padding: 0;
}

/* Optional: reduce padding around each post for tighter layout */
article.post {
  padding-bottom: 20px;
}

.post-thumbnail img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block;
}

/* Add spacing between date and image */
.entry-meta {
  margin-bottom: 20px;
}

/* --- Editor styling --- */

/* General font match to front-end */
body.editor-styles-wrapper {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  color: #222;
}

/* Headings match front-end */
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

/* Reduce space between lines and paragraphs */
.editor-styles-wrapper p {
  margin: 0 0 0.8em;
}

/* Lists look tighter */
.editor-styles-wrapper ul,
.editor-styles-wrapper ol {
  margin: 0 0 1em 1.5em;
  line-height: 1.5;
}

/* Numbered lists styled like headers */
.editor-styles-wrapper ol li {
  font-weight: 600;
  font-size: 1.1em;
}

/* Optional: add spacing fix between blocks */
.block-editor-block-list__layout {
  row-gap: 10px;
}

.entry-content h3, .comment-content h3 {
    line-height: 1.6em !important;
}

/* ------------------------
   FRONT-END POST STYLING FIX
------------------------- */

/* Make all heading tags in post content match editor and theme */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.wp-block-heading {
  font-family: "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 700 !important;
  color: #111 !important;
  line-height: 1.3 !important;
  margin-top: 1em !important;
  margin-bottom: 0.5em !important;
}

/* Fix font size for post headings */
.entry-content h1, .wp-block-heading.h1 { font-size: 2em !important; }
.entry-content h2, .wp-block-heading.h2 { font-size: 1.6em !important; }
.entry-content h3, .wp-block-heading.h3 { font-size: 1.4em !important; }

/* Make numbered lists look tidy */
.entry-content ol {
  margin: 0 0 1em 1.5em;
  line-height: 1.5;
}

/* Make list items bold if they are headings */
.entry-content ol li strong,
.entry-content ul li strong {
  font-weight: 700;
  font-size: 1.1em;
}

/* Optional: reduce space between list items */
.entry-content ol li,
.entry-content ul li {
  margin-bottom: 0.3em;
}

/* Optional: tighter line height in paragraphs */
.entry-content p {
  line-height: 1.5;
  margin-bottom: 0.8em;
}
