/* Article 3: Best Web Hosting for WordPress 2026 — CSS prefix: wh- */
/* Mobile-first design */

.wh-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  color: #1a1a2e;
  line-height: 1.75;
  font-size: 17px;
}

.wh-article h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 20px 0;
  font-weight: 800;
}

.wh-article h2 {
  font-size: 1.4rem;
  color: #0f172a;
  margin: 40px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
  font-weight: 700;
}

.wh-article h3 {
  font-size: 1.15rem;
  color: #1e293b;
  margin: 28px 0 12px 0;
  font-weight: 700;
}

.wh-article p {
  margin: 0 0 16px 0;
}

.wh-article a {
  color: #2563eb;
  text-decoration: underline;
}

.wh-article a:hover {
  color: #1d4ed8;
}

.wh-article ul, .wh-article ol {
  margin: 0 0 16px 0;
  padding-left: 24px;
}

.wh-article li {
  margin-bottom: 8px;
}

/* Disclosure */
.wh-disclosure {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.85rem;
  color: #64748b;
  margin: 16px 0 24px 0;
}

/* Verdict */
.wh-verdict {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.wh-verdict h2 {
  color: #fff;
  border: none;
  margin: 0 0 12px 0;
  font-size: 1.25rem;
}

.wh-verdict p {
  color: #cbd5e1;
  margin: 0 0 10px 0;
}

.wh-verdict strong {
  color: #38bdf8;
}

/* Host Card */
.wh-host-card {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  transition: border-color 0.2s;
}

.wh-host-card:hover {
  border-color: #2563eb;
}

.wh-host-card.wh-top-pick {
  border-color: #22c55e;
}

.wh-host-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.wh-host-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wh-host-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
}

.wh-host-score {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.wh-host-score span {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 400;
}

.wh-host-tagline {
  font-size: 0.95rem;
  color: #64748b;
  font-style: italic;
}

.wh-badge {
  display: inline-block;
  background: #22c55e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Specs Grid */
.wh-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0;
}

.wh-spec {
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 6px;
}

.wh-spec-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wh-spec-value {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
}

/* Pros/Cons */
.wh-proscons {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.wh-pros, .wh-cons {
  border-radius: 8px;
  padding: 16px;
}

.wh-pros {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
}

.wh-cons {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
}

.wh-pros strong, .wh-cons strong {
  display: block;
  margin-bottom: 6px;
}

.wh-pros ul, .wh-cons ul {
  margin: 0;
  padding-left: 18px;
}

.wh-pros li, .wh-cons li {
  margin-bottom: 4px;
  font-size: 0.95rem;
}

/* Callout */
.wh-callout {
  border-radius: 10px;
  padding: 20px;
  margin: 24px 0;
}

.wh-callout.wh-tip {
  background: #eff6ff;
  border-left: 4px solid #2563eb;
}

.wh-callout.wh-warn {
  background: #fefce8;
  border-left: 4px solid #eab308;
}

.wh-callout.wh-info {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
}

.wh-callout strong {
  display: block;
  margin-bottom: 6px;
}

/* Score Bars */
.wh-score-section {
  margin: 20px 0;
}

.wh-score-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.wh-score-label {
  flex: 0 0 110px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #334155;
}

.wh-score-bar {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.wh-score-fill {
  height: 100%;
  border-radius: 4px;
  background: #2563eb;
}

.wh-score-value {
  flex: 0 0 36px;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: right;
  color: #0f172a;
}

/* Comparison Table */
.wh-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  -webkit-overflow-scrolling: touch;
}

.wh-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  font-size: 0.85rem;
}

.wh-table thead {
  background: #0f172a;
  color: #fff;
}

.wh-table th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
}

.wh-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
}

.wh-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.wh-table tbody tr:hover {
  background: #eff6ff;
}

/* FAQ */
.wh-faq {
  margin: 32px 0;
}

.wh-faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
}

.wh-faq-q {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.wh-faq-a {
  color: #475569;
  line-height: 1.7;
}

/* CTA Final */
.wh-cta-final {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  margin: 40px 0;
}

.wh-cta-final h2 {
  color: #fff;
  border: none;
  margin: 0 0 12px 0;
}

.wh-cta-final p {
  color: #cbd5e1;
  margin: 0 0 20px 0;
}

/* Methodology */
.wh-methodology {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  margin: 32px 0;
}

.wh-methodology h2 {
  border: none;
  margin-top: 0;
}

.wh-btn {
  display: inline-block;
  background: #2563eb;
  color: #fff !important;
  text-decoration: none !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 10px;
  transition: background 0.2s;
}

.wh-btn:hover {
  background: #1d4ed8;
}

/* Desktop */
@media (min-width: 768px) {
  .wh-article {
    padding: 0 24px;
  }

  .wh-article h1 {
    font-size: 2.25rem;
  }

  .wh-article h2 {
    font-size: 1.6rem;
  }

  .wh-specs {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .wh-proscons {
    grid-template-columns: 1fr 1fr;
  }

  .wh-score-label {
    flex: 0 0 140px;
  }
}
