/* Agia Auto Formatter - scoped styles */

/*
  IMPORTANT:
  We wrap post content with .agia-af-content for scoping.
  Many themes style paragraphs using direct-child selectors like:
    .entry-content > p { font-weight: ... }
  The wrapper can cause those selectors to no longer match, which may
  unintentionally make all paragraph text inherit a bold weight.
  To keep typography stable, we reset paragraph font-weight inside the
  scoped wrapper, while preserving <strong>/<b>.
*/

.agia-af-content p{
  font-weight: 400; /* normal */
}

.agia-af-content p strong,
.agia-af-content p b{
  font-weight: 700;
}

.agia-af-summary{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 16px;
  margin: 0 0 18px 0;
  background: rgba(0,0,0,.02);
}

.agia-af-summary-title{
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}

.agia-af-summary-list{
  margin: 0;
  
}

.agia-af-summary-list li{
  margin: 6px 0;
  line-height: 1.55;
}

/* Visual paragraph separation (spacing) without altering content */
.agia-af-paragraph-spacing p{
  margin: 0 0 1.05em 0;
  line-height: 1.7;
}

.agia-af-paragraph-spacing p:last-child{
  margin-bottom: 0;
}

/* Drop-cap: ONLY the first real letter gets styled (we inject a span in PHP).
   This avoids bolding brackets like [9], quotes, or parentheses. */
.agia-af-dropcap .agia-af-dropcap-letter{
  font-weight: 700;
  font-size: 1.6em;
  line-height: 1;
}
