/* =========================================
   NY Junk Clear - Blog Article Stylesheet
   /css/blog-article.css
   ========================================= */

/* Article Hero */
.article-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--primary-dark);
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,43,69,0.35) 0%, rgba(18,43,69,0.82) 100%);
  z-index: 1;
}
.article-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 60px;
  width: 100%;
}
.article-hero .breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.article-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.article-hero .breadcrumb a:hover { color: #fff; }
.article-hero .breadcrumb .sep { font-size: 10px; margin: 0 8px; }
.article-hero h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  line-height: 1.28;
  color: #fff;
  margin: 0 0 22px;
  max-width: 900px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
}
.article-meta .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.4px;
}
.article-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Article Body Wrapper */
.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}
.article-body h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--primary-dark);
  margin: 48px 0 18px;
  line-height: 1.35;
  position: relative;
  padding-left: 18px;
}
.article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 5px;
  background: var(--accent);
  border-radius: 3px;
}
.article-body h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--primary);
  margin: 32px 0 12px;
  line-height: 1.45;
}
.article-body p {
  margin: 0 0 18px;
}
.article-body strong { color: var(--primary-dark); }
.article-body .highlight {
  background: #fff3d6;
  color: #7c4a00;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.article-body ul, .article-body ol {
  margin: 0 0 22px 24px;
  padding-left: 12px;
}
.article-body ul li, .article-body ol li {
  margin-bottom: 8px;
  padding-left: 4px;
}
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }

.inline-img {
  width: 100%;
  margin: 28px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.inline-img img { width: 100%; display: block; }
.inline-img figcaption {
  text-align: center;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-light);
  background: var(--bg-light);
}

/* Read Summary Box */
.read-summary {
  background: #fff4ea;
  border: 1px solid #f7d2b4;
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 30px 0 40px;
  box-shadow: 0 4px 20px rgba(232,92,13,0.06);
}
.read-summary h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  margin: 0 0 14px;
  color: var(--accent-dark);
}
.read-summary ul {
  margin: 0;
  padding-left: 22px;
}
.read-summary ul li {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.75;
  list-style: "✓  ";
  padding-left: 6px;
}

/* Comparison Table */
.comparison-table {
  margin: 30px 0 36px;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 560px;
  font-size: 15.5px;
}
.comparison-table thead {
  background: var(--primary);
  color: #fff;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.comparison-table th {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.4px;
}
.comparison-table tbody tr:nth-child(even) { background: #fafbfd; }
.comparison-table tbody tr:hover { background: #fff4ea; }
.comparison-table td strong { color: var(--primary-dark); }

/* Step Cards */
.step-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0 36px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 22px;
  text-align: left;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  border-color: var(--accent);
}
.step-card .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
}
.step-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 10px;
}
.step-card p {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* Price Cards */
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin: 30px 0 36px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 24px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}
.price-card .pc-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}
.price-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 8px;
}
.price-card .pc-items {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0 0 14px;
}
.price-card .pc-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.5px;
}
.price-card .pc-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  display: block;
  margin-top: 2px;
}

/* FAQ */
.faq-list {
  margin: 20px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(232,92,13,0.08);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 26px;
  font-weight: 400;
  color: var(--accent);
  transition: transform var(--transition);
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer {
  padding: 0 24px 20px;
  color: var(--text);
  line-height: 1.8;
  font-size: 15.5px;
}

/* CTA Banner (article) */
.article-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  padding: 44px 36px;
  color: #fff;
  text-align: center;
  margin: 40px 0 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(26,60,94,0.25);
}
.article-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(232,92,13,0.25) 0%, transparent 50%);
  pointer-events: none;
}
.article-cta > * { position: relative; z-index: 1; }
.article-cta h3 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin: 0 0 14px;
  color: #fff;
  line-height: 1.35;
}
.article-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin: 0 auto 24px;
  max-width: 620px;
}
.article-cta .cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.article-cta .cta-buttons .btn-primary {
  background: var(--accent);
}
.article-cta .cta-buttons .btn-phone {
  background: #fff;
  color: var(--primary-dark);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.article-cta .cta-buttons .btn-phone:hover {
  background: var(--accent);
  color: #fff;
}
.article-cta .trust-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.article-cta .trust-badges span {
  background: rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}

/* Related Posts */
.related-posts {
  margin: 30px 0 0;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.related-posts h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 24px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  line-height: 1.3;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.related-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}
.related-card .rc-img {
  height: 180px;
  overflow: hidden;
}
.related-card .rc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.related-card:hover .rc-img img { transform: scale(1.06); }
.related-card .rc-body {
  padding: 20px 22px 22px;
}
.related-card .rc-cat {
  display: inline-block;
  background: #fff3e6;
  color: var(--accent-dark);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.related-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.45;
  margin: 0 0 10px;
}
.related-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 12px;
}
.related-card .rc-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}
.related-card .rc-link:hover { color: var(--accent-dark); }

/* Responsive */
@media (max-width: 960px) {
  .step-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .article-hero { min-height: 340px; }
  .article-hero .container { padding-top: 60px; padding-bottom: 40px; }
  .article-body { padding: 40px 20px 20px; font-size: 16px; }
  .article-body h2 { margin-top: 36px; }
  .step-cards { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .article-cta { padding: 32px 22px; }
  .article-cta .cta-buttons { flex-direction: column; }
  .article-cta .cta-buttons .btn, .article-cta .cta-buttons .btn-phone { width: 100%; justify-content: center; }
  .read-summary { padding: 20px; }
  .comparison-table { font-size: 14px; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
}
