/* styles.css - simple responsive styling for the blog-ideas page */
:root{
  --bg:#f9fafb;
  --card:#ffffff;
  --muted:#6b7280;
  --accent:#2563eb;
  --radius:12px;
  --gap:18px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color:#111827;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:20px;
}

/* Header */
.site-header{
  background:linear-gradient(90deg,#ffffff, #fofofo);
  color:#FDAAAA;
  padding:10px 0;
  margin-bottom:18px;
  border-radius:0 0 14px 14px;
}
.site-title{
  margin:0;
  font-size:36px;
  letter-spacing:0.4px;
}
.site-tagline{font-weight: 600; margin:6px 0 0; color:#59AC77;}
section {margin:0 auto; background:#fff;}
/* Intro */
.intro h2{margin-top:0}

/* Card grid */
.card-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:var(--gap);
  margin-top:18px;
}

/* Single card */
.card{
  background:var(--card);
  padding:18px;
  border-radius:var(--radius);
  box-shadow:0 6px 18px rgba(15,23,42,0.06);
  border:1px solid rgba(15,23,42,0.04);
}
.card h3{margin:0 0 10px 0}
.card ul{padding-left:18px; margin:0}
.card li{margin-bottom:12px}
.desc{margin:6px 0 0; color:var(--muted); font-size:14px}
.meta{margin:6px 0 0; font-size:13px; color:#9ca3af}

/* CTA */
.cta{
  background:linear-gradient(180deg,#fff,#fbfbff);
  margin-top:22px;
  padding:18px;
  border-radius:12px;
  text-align:center;
  border:1px solid rgba(15,23,42,0.04);
}
.cta .btn{
  display:inline-block;
  margin:10px 8px 0;
  padding:10px 16px;
  text-decoration:none;
  background:var(--accent);
  color:#fff;
  border-radius:10px;
  font-weight:600;
}
.btn-outline{
  background:transparent;
  color:var(--accent);
  border:1px solid rgba(37,99,235,0.12);
}
/* Smooth Responsive Scroll */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  max-width: 720px; /* responsive scroll point */
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-radius: 10px;
  overflow: hidden;
  font-family: system-ui, sans-serif;
}

/* Sticky Header */
thead th {
  position: sticky;
  top: 0;
  background: #999;
  color: #1E93AB;
  font-size: 14px;
  padding: 12px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid rgba(0,0,0,0.08);
}

/* Table cells */
td {
  padding: 12px;
  font-size: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Zebra effect */
tbody tr:nth-child(odd) td {
  background: #ddd;
}

/* Hover */
tbody tr:hover td {
  background: rgba(30,147,171,0.06);
  transition: 0.2s;
}

/* First column compact */
th:first-child,
td:first-child {
  width: 50px;
  text-align: center;
  color: #64748b;
  font-weight: 600;
}

/* Small screens: Table scroll */
@media (max-width: 600px) {
  table {
    min-width: 600px;
  }
}
/* Footer */
.site-footer{ text-align:center; margin:30px 0 60px; color:var(--muted) }

/* Responsive */
@media (max-width:900px){
  .card-grid{grid-template-columns:1fr}
  .site-title{font-size:22px}
}
