/* ═══════════════════════════════════════════════════
   Money Page – Brand-styled components
   Prefix: flmp- (Future Leaders Money Page)
   ═══════════════════════════════════════════════════ */

/* ── Tables ── */
.flmp-table {
  border-collapse: collapse;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #D1D5DB;
}
.flmp-table thead tr {
  background: #1E2D3D;
  color: #fff;
}
.flmp-table thead th {
  padding: 14px 16px;
  font-weight: 600;
  font-size: .9rem;
  text-align: left;
  border: none;
}
.flmp-table tbody td {
  padding: 12px 16px;
  font-size: .9rem;
  border-bottom: 1px solid #E5E7EB;
}
.flmp-table tbody tr:nth-child(even) {
  background: #EDF2F6;
}
.flmp-table tbody tr:hover {
  background: #DDE9F0;
}

/* ── Comparison table variant ── */
.flmp-comparison thead tr {
  background: linear-gradient(135deg, #1E2D3D, #2C3E50);
}
.flmp-comparison td:nth-child(2) {
  color: #6B7280;
}
.flmp-comparison td:nth-child(3) {
  color: #1A1A1A;
  font-weight: 500;
}

/* ── CTA Buttons (gold/amber) ── */
.flmp-cta .wp-block-button__link {
  background: #E89418 !important;
  color: #1A1A1A !important;
  font-weight: 700;
  border-radius: 12px;
  padding: 14px 32px;
  font-size: 1rem;
  transition: background .2s;
}
.flmp-cta .wp-block-button__link:hover {
  background: #C47D0E !important;
}

/* ── Fit / Not-Fit Cards (Dla kogo / Nie dla kogo) ── */
.flmp-fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0;
}
.flmp-fit-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  background: #fff;
}
.flmp-fit-card h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.flmp-fit-yes {
  border-left: 4px solid #16a34a;
}
.flmp-fit-no {
  border-left: 4px solid #C41E1A;
}
.flmp-fit-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.flmp-fit-card li {
  padding: 8px 0;
  font-size: .9rem;
  display: flex;
  align-items: start;
  gap: 10px;
  color: #525252;
  border-bottom: 1px solid #F3F4F6;
}
.flmp-fit-card li:last-child {
  border-bottom: none;
}
.flmp-fit-card li::before {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.flmp-fit-yes li::before {
  content: "\2705";
}
.flmp-fit-no li::before {
  content: "\274C";
}

@media (max-width: 600px) {
  .flmp-fit-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Problem Cards Grid ── */
.flmp-problems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.flmp-problem-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.flmp-problem-card:hover {
  border-color: #C0D5E3;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .04);
}
.flmp-problem-card .flmp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #EDF2F6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.flmp-problem-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 10px;
  line-height: 1.35;
}
.flmp-problem-card p {
  font-size: .85rem;
  color: #525252;
  line-height: 1.6;
  margin: 0;
}
.flmp-problem-card .flmp-module-ref {
  display: inline-block;
  margin-top: 10px;
  font-size: .75rem;
  font-weight: 600;
  color: #3E5871;
  background: #EDF2F6;
  padding: 3px 10px;
  border-radius: 9999px;
}

@media (max-width: 700px) {
  .flmp-problems-grid {
    grid-template-columns: 1fr;
  }
  .flmp-problem-card[style*="grid-column"] {
    max-width: 100% !important;
  }
}

/* =========================================
   Money Page – FAQ (native wp:details)
   Prefix: about-afl-faq
   ========================================= */

.about-afl-faq {
  border: 1px solid var(--color-ink-300);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2em;
}

.about-afl-faq .wp-block-details {
  border-bottom: 1px solid var(--color-ink-300);
  background: #fff;
  transition: background 0.3s ease;
  margin-bottom: 0;
}

.about-afl-faq .wp-block-details:last-child {
  border-bottom: none;
}

.about-afl-faq summary {
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-ink-900);
  user-select: none;
  list-style: none;
}

.about-afl-faq summary::-webkit-details-marker {
  display: none;
}

.about-afl-faq summary::marker {
  content: "";
}

.about-afl-faq .wp-block-details[open] {
  background: var(--color-cream);
}

.about-afl-faq .wp-block-details p {
  padding: 0 20px 20px 20px;
  color: var(--color-ink-600);
  line-height: 1.6;
  margin: 0;
}
