/*
 Theme Name: GeneratePress Child – Editorial Homepage (Medium-style)
 Template: generatepress
 Version: 1.1.0
 Description: Minimal, content-first homepage with Featured, Recent, Popular, and Recommendations sections. No newsletter block.
*/

/* Base: modern, Medium-like */
:root {
  --wrap: 1080px;
  --gap: 28px;
  --muted: #6b7280;
  --border: #eceff3;
}

body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif; }

.home .site-content { padding-top: 28px; padding-bottom: 56px; }
.container-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }

.section { margin: 48px 0; }
.section h2 { font-size: 1.6rem; margin: 0 0 18px 0; }

.grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
@media (min-width: 800px) {
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; }
.card .thumb img { display:block; width:100%; height:auto; }
.card .content { padding: 14px 16px 18px; }
.card .title { font-size: 1.12rem; line-height: 1.35; margin: 0 0 8px 0; }
.card .meta { font-size: .88rem; color: var(--muted); }

.card:hover .title { text-decoration: underline; }

/* Featured lead */
.featured .lead { display:grid; grid-template-columns: 1fr; gap: var(--gap); }
@media (min-width: 900px) { .featured .lead { grid-template-columns: 1.25fr 1fr; } }
.featured .lead .title { font-size: 2rem; line-height: 1.2; }
.featured .lede { color: var(--muted); margin: 8px 0 0 0; }
/* Header layout */
.site-header {
  border-bottom: 1px solid #eee;
  background: #fff;
  padding: 10px 0;
}

.header-container {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  text-align: center;
}

.logo-left {
  text-align: left;
}

.logo-left img {
  max-height: 50px;
  width: auto;
}

.site-title-center {
  text-align: center;
}

.center-title {
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0;
  color: #222;
}

.main-nav {
  text-align: right;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  display: inline-block;
  margin-left: 20px;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.main-nav a:hover {
  color: #0073aa;
}

