/* Blog / Article styles — DMCCA Guard */

/* ---- Layout ---- */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ---- Article header ---- */
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.article-tag {
  background: var(--green-100);
  color: var(--green-700);
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.75rem;
}
[data-theme="dark"] .article-tag {
  background: var(--green-900);
  color: var(--green-200);
}

.article-header h1 {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
}

.article-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.article-disclaimer {
  background: var(--bg-alt);
  border-left: 3px solid var(--border);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-bottom: 2rem;
}

/* ---- ToC ---- */
.toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.toc-title {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}
.toc ol {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.toc a {
  font-size: 0.9375rem;
  color: var(--text);
  text-decoration: none;
}
.toc a:hover { color: var(--accent); }

/* ---- Body sections ---- */
.article-wrap section {
  margin-bottom: 3rem;
  scroll-margin-top: 88px;
}

.article-wrap h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--green-100);
}
[data-theme="dark"] .article-wrap h2 { border-bottom-color: var(--green-900); }

.article-wrap h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.75rem 0 0.625rem;
}

.article-wrap p, .article-wrap li { line-height: 1.7; }
.article-wrap ul, .article-wrap ol { padding-left: 1.375rem; }
.article-wrap li { margin-bottom: 0.375rem; }

/* ---- Info box ---- */
.info-box {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
[data-theme="dark"] .info-box {
  background: var(--green-950);
  border-color: var(--green-800);
}
.info-box strong { display: block; margin-bottom: 0.5rem; }
.info-box ul { margin: 0; padding-left: 1.25rem; }

/* ---- Penalty grid ---- */
.penalty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}
.penalty-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.125rem 1.25rem;
  text-align: center;
}
.penalty-amount {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.375rem;
}
.penalty-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---- Checklist ---- */
.checklist-section { margin-bottom: 1.5rem; }
.checklist-section h3 { margin-top: 0; }

.checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  margin: 0;
}
.check-box {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  margin-top: 0.175rem;
  display: inline-block;
  background: var(--bg);
}

/* ---- Inline CTA ---- */
.cta-inline {
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
  color: var(--white);
}
.cta-inline p { margin: 0 0 1rem; opacity: 0.9; }

/* ---- FAQ details ---- */
details {
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 0.625rem;
  overflow: hidden;
}
details[open] { border-color: var(--green-200); }
[data-theme="dark"] details[open] { border-color: var(--green-800); }

summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
summary::before {
  content: '+';
  width: 1rem;
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
}
details[open] summary::before { content: '−'; }

details p {
  padding: 0 1.25rem 1rem;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.875rem;
}

/* ---- Next steps ---- */
.next-steps-section { }
.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.next-step-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.25rem;
}
.next-step-card h3 { margin: 0.75rem 0 0.5rem; font-size: 1rem; }
.next-step-card p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }
.step-number {
  width: 2rem;
  height: 2rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--accent-dk); color: var(--white); }
.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; }

/* ---- CTA block ---- */
.cta-block {
  text-align: center;
  margin-top: 2rem;
  padding: 2rem;
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.cta-block p:first-child { font-weight: 600; margin-bottom: 1rem; }
.cta-sub { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.75rem; margin-bottom: 0; }

/* ---- Article footer ---- */
.article-footer {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---- Blog listing page ---- */
.blog-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.blog-wrap h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.blog-wrap .lead {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.post-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.post-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(15,81,50,0.08);
}
.post-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  align-items: center;
}
.post-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  border: none;
  padding: 0;
  color: var(--text);
}
.post-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}
.read-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .article-wrap { padding: 1.5rem 1rem 3rem; }
  .penalty-grid { grid-template-columns: 1fr; }
  .next-steps-grid { grid-template-columns: 1fr; }
  .article-wrap h2 { font-size: 1.25rem; }
}
