/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/

/* ── HOMEPAGE GRID ── */
.blog .site-main,
.archive .site-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.blog .post,
.archive .post {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.blog .post:hover,
.archive .post:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.blog .post .entry-header,
.archive .post .entry-header {
  padding: 20px 20px 0;
}

.blog .post .entry-summary,
.archive .post .entry-summary {
  padding: 10px 20px 20px;
  flex-grow: 1;
}

.blog .post .entry-footer,
.archive .post .entry-footer {
  padding: 0 20px 16px;
  font-size: 13px;
  color: #888;
}

/* Featured image fills card top */
.blog .post .post-image,
.archive .post .post-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

/* Category badge */
.blog .post .entry-footer .cat-links a,
.archive .post .entry-footer .cat-links a {
  background: #c0392b;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}

/* Post title */
.blog .post .entry-title,
.archive .post .entry-title {
  font-size: 18px;
  line-height: 1.3;
  margin: 8px 0 6px;
}

.blog .post .entry-title a,
.archive .post .entry-title a {
  color: #0d0d0d;
  text-decoration: none;
}

.blog .post .entry-title a:hover,
.archive .post .entry-title a:hover {
  color: #c0392b;
}

/* Hide comment link from cards */
.blog .post .comments-link,
.archive .post .comments-link {
  display: none;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .blog .site-main,
  .archive .site-main {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .blog .site-main,
  .archive .site-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── HEADER ── */
.site-header {
  background: #0d0d0d;
  padding: 0;
}

.site-header .site-title a {
  color: #ffffff;
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  letter-spacing: -0.5px;
}

.site-header .site-description {
  color: #999;
  font-size: 12px;
}

.main-navigation a {
  color: #cccccc !important;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.main-navigation a:hover {
  color: #ffffff !important;
}

/* ── SINGLE ARTICLE ── */
.single .site-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px;
}

.single .entry-title {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.single .entry-content h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

.single .entry-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #2a2a2a;
}

/* Specs table */
.specs-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 15px;
}

.specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
}

.specs-table tr:nth-child(even) td {
  background: #f9f9f9;
}

/* ── REMOVE SIDEBAR ── */
.widget-area {
  display: none;
}

.content-area {
  width: 100% !important;
  float: none !important;
}