/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* =========================
   GLOBAL RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  line-height: 1.7;
  color: #1a1a1a;
  background: #f9fafb;
}

/* =========================
   CONTAINER
========================= */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* =========================
   HEADINGS
========================= */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: #111;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.4rem;
  line-height: 1.3;
}

h2 {
  font-size: 1.8rem;
  margin-top: 40px;
}

h3 {
  font-size: 1.4rem;
  margin-top: 25px;
}

/* =========================
   PARAGRAPHS
========================= */
p {
  margin-bottom: 18px;
  font-size: 1rem;
  color: #333;
}

/* =========================
   META INFO (author, date)
========================= */
.meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 20px;
}

/* =========================
   BUTTONS / CTA
========================= */
.btn {
  display: inline-block;
  padding: 12px 22px;
  background: #2563eb;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

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

/* =========================
   FEATURE BOX / CARD
========================= */
.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

/* =========================
   TABLE (comparison tables)
========================= */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th, td {
  padding: 12px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

th {
  background: #f3f4f6;
  font-weight: 600;
}

/* =========================
   LISTS
========================= */
ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 8px;
}

/* =========================
   HIGHLIGHT STATS BOX
========================= */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin: 25px 0;
}

.stat-box {
  background: #fff;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.stat-box h3 {
  font-size: 1.6rem;
  color: #2563eb;
}

.stat-box p {
  font-size: 0.85rem;
  color: #666;
}

/* =========================
   QUOTE BLOCK
========================= */
blockquote {
  border-left: 4px solid #2563eb;
  padding-left: 15px;
  margin: 20px 0;
  color: #444;
  font-style: italic;
}

/* =========================
   FEATURE GRID (icons)
========================= */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.feature-box {
  background: #fff;
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* =========================
   FAQ SECTION
========================= */
.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 10px;
}

.faq-item h4 {
  cursor: pointer;
}

/* =========================
   RATING BADGE
========================= */
.rating {
  font-size: 1.2rem;
  font-weight: bold;
  color: #16a34a;
  margin-top: 10px;
}

/* =========================
   AFFILIATE DISCLAIMER
========================= */
.disclaimer {
  font-size: 0.85rem;
  color: #777;
  margin-top: 30px;
  border-top: 1px solid #e5e7eb;
  padding-top: 15px;
}

/* =========================
   NAV / HEADER (optional)
========================= */
.header {
  background: #111827;
  color: #fff;
  padding: 15px 20px;
}

.header h1 {
  color: #fff;
  font-size: 1.5rem;
}

/* =========================
   FOOTER
========================= */
.footer {
  margin-top: 50px;
  padding: 20px;
  background: #111827;
  color: #ccc;
  text-align: center;
  font-size: 0.85rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .container {
    padding: 15px;
  }
}