/*
Theme Name: WPautoBlogs
Theme URI: https://example.com/
Author: WPautoBlogs
Description: Lightweight SEO-first theme designed to work with the WPautoBlogs plugin (comparison tables, product boxes, conversion blocks).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: wpautoblogs
*/

:root{
  --wpab-max: 1080px;
  --wpab-border: rgba(0,0,0,.12);
}

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.6;
  color: #111;
  background: #fff;
}

a{ color: #1a73e8; text-decoration: none; }
a:hover{ text-decoration: underline; }

.wpab-site-header{
  border-bottom: 1px solid var(--wpab-border);
  padding: 18px 0;
}
.wpab-container{
  max-width: var(--wpab-max);
  margin: 0 auto;
  padding: 0 16px;
}
.wpab-brand{
  font-size: 20px;
  font-weight: 900;
}
.wpab-nav{
  margin-top: 10px;
}
.wpab-nav ul{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.wpab-nav a{ font-weight: 700; }

.wpab-content{
  padding: 26px 0;
}

.wpab-article-title{
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 10px 0;
  font-weight: 950;
}
.wpab-meta{
  font-size: 14px;
  opacity: .75;
  margin-bottom: 18px;
}

.wpab-article{
  max-width: 800px;
}

.wpab-article h2{ margin-top: 28px; line-height: 1.2; }
.wpab-article h3{ margin-top: 22px; line-height: 1.25; }
.wpab-article img{ max-width: 100%; height:auto; }
.wpab-article table{ width: 100%; border-collapse: collapse; }
.wpab-article th, .wpab-article td{ border: 1px solid var(--wpab-border); padding: 8px; }
.wpab-article thead th{ background: rgba(0,0,0,.04); }

.wpab-footer{
  border-top: 1px solid var(--wpab-border);
  padding: 26px 0;
  font-size: 14px;
  opacity: .8;
}

.wpab-post-list{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.wpab-card{
  border: 1px solid var(--wpab-border);
  border-radius: 12px;
  padding: 16px;
}
.wpab-card__title{
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 8px 0;
}
.wpab-card__excerpt{ margin: 0; opacity: .85; }

@media (min-width: 960px){
  .wpab-post-list{ grid-template-columns: 1fr 1fr; }
}
