
/* ==========================================================================
   Review article layout — post ID 26
   ========================================================================== */

.fm-review-post .site-content {
  background: #eef2f7;
  padding-top: 0 !important;
}

.fm-review-post.ast-separate-container .site-main {
  padding: 0 0 5rem !important;
}

.fm-review-post .ast-container {
  max-width: 820px !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

.fm-review-post .entry-header {
  text-align: center;
  padding: 2.75rem 1.5rem 2.5rem;
  background: linear-gradient(180deg, #0b1120 0%, #111827 100%);
  margin: 0 calc(50% - 50vw) 0 !important;
  width: 100vw;
  max-width: 100vw;
  border-radius: 0;
}

.fm-review-post .entry-title {
  color: #fff !important;
  font-size: clamp(1.65rem, 4vw, 2.35rem) !important;
  line-height: 1.3 !important;
  max-width: 720px;
  margin: 0 auto !important;
}

.fm-review-post .entry-meta {
  justify-content: center;
  color: var(--fm-muted) !important;
  margin-top: 0.85rem !important;
}

.fm-review-post .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Unified article card */
.fm-review-shell {
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  margin-top: -1.25rem;
  position: relative;
  z-index: 2;
}

.fm-review-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 1.5rem 1.5rem 0;
  margin: 0;
  background: #fff;
}

.fm-review-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fm-cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.22);
}

.fm-review-pill--score {
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
}

.fm-review-body {
  padding: 0 2rem 1.5rem;
}

.fm-review-body > p:first-child {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #334155;
  margin-top: 0;
}

.fm-review-body h2 {
  margin: 2.5rem 0 1rem;
  padding: 0.75rem 0 0.75rem 1rem;
  border-left: 4px solid var(--fm-cyan);
  font-size: 1.35rem;
  color: #0f172a;
  line-height: 1.35;
  background: linear-gradient(90deg, #f0fdfa 0%, transparent 100%);
  border-radius: 0 8px 8px 0;
}

.fm-review-body h2:first-of-type {
  margin-top: 0.5rem;
}

.fm-review-body p {
  line-height: 1.85;
  color: #475569;
  margin-bottom: 1.1rem;
}

.fm-review-body p strong {
  color: #0f172a;
}

.fm-review-body .wp-block-table {
  margin: 1.25rem 0;
  overflow-x: auto;
  border-radius: var(--fm-radius);
  border: 1px solid #e2e8f0;
}

.fm-review-body .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0;
}

.fm-review-body .wp-block-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.fm-review-body .wp-block-table tr:first-child td {
  background: #0b1120;
  color: #fff;
  font-weight: 700;
  border-bottom: none;
}

.fm-review-body .wp-block-table tr:nth-child(even):not(:first-child) td {
  background: #f8fafc;
}

.fm-review-body ul.wp-block-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.fm-review-body ul.wp-block-list li {
  margin: 0;
  padding: 0.5rem 0.75rem;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f766e;
  text-align: center;
}

.fm-review-pros,
.fm-review-cons {
  margin: 1.25rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--fm-radius);
}

.fm-review-pros {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.fm-review-cons {
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.fm-review-pros-head,
.fm-review-cons-head {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fm-review-pros-head { color: #047857; }
.fm-review-cons-head { color: #c2410c; }

.fm-review-pros ul.wp-block-list,
.fm-review-cons ul.wp-block-list {
  display: block;
  margin: 0;
}

.fm-review-pros ul.wp-block-list li,
.fm-review-cons ul.wp-block-list li {
  display: block;
  text-align: left;
  border-radius: 8px;
  margin-bottom: 0.45rem;
  background: rgba(255, 255, 255, 0.75);
  border: none;
  color: #334155;
  font-weight: 500;
}

.fm-review-faqs {
  margin-top: 0.5rem;
}

.fm-review-faqs p strong {
  display: block;
  padding: 0.9rem 1.15rem;
  margin: 0.85rem 0 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px 10px 0 0;
  color: #0f172a;
  font-size: 0.98rem;
}

.fm-review-faqs p:not(:has(strong)) {
  padding: 0 1.15rem 0.9rem;
  margin: 0 0 0.35rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 10px 10px;
}

/* CTA buttons */
.fm-review-cta {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
  margin: 1.75rem 0;
}

.fm-review-cta .fm-btn {
  min-width: 220px;
  text-align: center;
  font-size: 1rem;
  padding: 0.95rem 2.25rem;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.28);
}

.fm-review-cta--hero {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eef2f7;
}

.fm-review-cta--footer {
  margin: 0;
  padding: 1.75rem 1.5rem 2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-top: 1px solid #e2e8f0;
}

.fm-review-cta--footer .fm-btn {
  min-width: 260px;
  font-size: 1.05rem;
}

.fm-review-cta--sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  margin: 0;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  background: rgba(11, 17, 32, 0.96);
  border-top: 1px solid rgba(6, 182, 212, 0.35);
  backdrop-filter: blur(8px);
}

.fm-review-cta--sticky .fm-btn {
  width: 100%;
  max-width: 420px;
  min-width: 0;
}

.fm-review-post {
  padding-bottom: 5rem;
}

@media (max-width: 720px) {
  .fm-review-post .ast-container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .fm-review-shell {
    margin-top: -0.75rem;
    border-radius: 12px;
  }

  .fm-review-body {
    padding: 0 1.15rem 1rem;
  }

  .fm-review-meta-bar {
    padding: 1.15rem 1rem 0;
  }

  .fm-review-body ul.wp-block-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .fm-review-cta .fm-btn {
    width: 100%;
    max-width: 360px;
    min-width: 0;
  }
}
