/*
Theme Name: astra-child
Template: astra
   entern-style.css
   Blog article styles for entern.us
   Classes referenced in entern_prompt.txt
   ============================================================ */

/* ── 1. Article Title ─────────────────────────────────────── */
.h2-style {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 20px;
}

/* ── 2. Section Headings ──────────────────────────────────── */
.h2-style-2 {
  font-size: 20px;
  font-weight: 700;
  margin: 25px 0 15px 0;
  padding-left: 15px;
  border-left: 4px solid #28a745;
  color: #1a1a1a;
}

/* ── 3. Summary Box ───────────────────────────────────────── */
.summary-box {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 4px solid #0d6efd;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

/* ── 4. Amazon Affiliate Card ─────────────────────────────── */
.amazon-div {
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, #FF9900, #e07b00);
  border-radius: 16px;
  margin: 36px 0;
  padding: 22px 26px;
  overflow: hidden;
}

.amazon-div-p-1 {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 4px 0;
}

.amazon-div-p-2 {
  font-size: 1.0rem;
  font-weight: 800;
  margin: 0 0 6px 0;
  color: #fff;
}

.amazon-div-p-3 {
  margin: 0 0 16px 0;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.9);
}

.amazon-div-a {
  display: inline-block;
  background: #fff;
  color: #e07b00;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.2s ease;
}

.amazon-div-a:hover {
  opacity: 0.88;
}

/* ── 5. Internal Link Box ─────────────────────────────────── */
.internal-div {
  background-color: #fff8e1;
  padding: 18px 20px;
  margin: 25px 0;
  border-radius: 6px;
  border-left: 4px solid #f9a825;
}

.internal-p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.internal-a {
  color: #0d6efd;
  text-decoration: none;
  font-weight: bold;
}

.internal-a:hover {
  text-decoration: underline;
}

/* ── 6. Comparison Table ──────────────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.comparison-table thead tr {
  background: #f8f9fa;
}

.comparison-table th {
  padding: 12px 8px;
  border: 1px solid #dee2e6;
  text-align: left;
  font-weight: 700;
  color: #1a1a1a;
}

.comparison-table td {
  padding: 10px 8px;
  border: 1px solid #dee2e6;
  color: #333;
  vertical-align: top;
}

.comparison-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.comparison-table tbody tr:hover {
  background: #eef4ff;
}

/* ── 7. Table of Contents ─────────────────────────────────── */
.toc-list {
  margin: 20px 0;
  padding-left: 20px;
  line-height: 2.2;
}

.toc-list li {
  list-style: disc;
}

.toc-list a {
  color: #0d6efd;
  text-decoration: none;
  font-size: 15px;
}

.toc-list a:hover {
  text-decoration: underline;
}

/* ── 8. Closing Takeaways List ────────────────────────────── */
.takeaway-list {
  margin: 20px 0;
  padding-left: 20px;
  line-height: 2;
}

.takeaway-list li {
  font-size: 15px;
  color: #333;
  margin-bottom: 6px;
}

/* ── 9. General Paragraph ─────────────────────────────────── */
.article-body p {
  margin: 0 0 14px 0;
  font-size: 15px;
  line-height: 1.75;
  color: #333;
  max-width: 100%;
}
