/*
Theme Name: THIS IS JAPAN GeneratePress
Template: generatepress
Text Domain: thisisjapan-gp
Version: 0.1.0
Description: Lightweight child theme for THIS IS JAPAN, based on GeneratePress.
*/

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #222;
  background: #f5f6f7;
}

.site-content {
  line-height: 1.75;
}

.site-header {
  border-bottom: 1px solid #ececec;
}

.main-title {
  display: none;
}

.entry-title {
  letter-spacing: 0;
}

.entry-meta {
  display: none;
}

.entry-content h2 {
  margin-top: 2.2em;
}

.entry-content h3 {
  margin-top: 1.7em;
}

.entry-content img {
  height: auto;
}

.inside-article {
  border-radius: 0;
}

.home .entry-header {
  display: none;
}

.tij-home-hero {
  padding: 40px 0 20px;
}

.tij-home-hero h1 {
  margin-bottom: 14px;
  font-size: 42px;
  line-height: 1.15;
}

.tij-home-hero p {
  max-width: 860px;
  font-size: 18px;
}

.tij-home-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 26px 0 34px;
}

.tij-home-cats a {
  display: block;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  color: #1f2933;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}

.tij-home-cats a:hover {
  border-color: #1e73be;
  color: #1e73be;
}

.tij-section-title {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #e8e8e8;
}

.wp-block-latest-posts.wp-block-latest-posts__list li {
  margin-bottom: 14px;
}

.wp-block-latest-posts__featured-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home .inside-article {
  padding-top: 32px;
}

@media (max-width: 768px) {
  .site-logo img {
    max-width: 150px;
  }

  .tij-home-hero h1 {
    font-size: 32px;
  }

  .tij-home-hero p {
    font-size: 16px;
  }
}
