/*
Theme Name: Stop Ransomware
Theme URI: https://example.com/
Author: Codex
Description: Static design converted into a WordPress theme scaffold for stopransomware.jp.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: stopransomware
*/

.article-body-ph h2[id] {
  scroll-margin-top: 120px;
}

.blog-index-page .container {
  display: block;
}

.blog-filter-section,
.editorial-section,
.article-list-section-wide {
  margin-top: 64px;
}

.list-category-top,
.list-tag-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.list-tag-top .tag,
.list-tag-top .tag.active,
.writer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid #8f95ef;
  color: #6a73d8;
  font-size: 1.4rem;
  line-height: 1.2;
  background: #fff;
}

.writer-badge-large {
  margin-top: 10px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 56px;
  margin-top: 24px;
}

.editorial-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  align-items: center;
  text-decoration: none;
}

.editorial-avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #d9d9d9;
}

.editorial-name {
  margin: 0 0 8px;
  color: #4c5ac7;
  font-size: 3.2rem;
  line-height: 1.2;
}

.editorial-title {
  margin: 0;
  color: #222;
  font-size: 1.8rem;
  line-height: 1.7;
}

.article-list-section-wide .article-grid {
  margin-top: 24px;
}

.article-card {
  display: block;
}

.article-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.article-author-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.article-author-inline .article-author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #d9d9d9;
  flex: 0 0 auto;
}

.article-author-inline .article-author-name {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

@media (max-width: 900px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .editorial-card {
    grid-template-columns: 96px 1fr;
    gap: 18px;
  }

  .editorial-avatar {
    width: 96px;
    height: 96px;
  }

  .editorial-name {
    font-size: 2.4rem;
  }
}
