.home-topics {
  width: calc(100% - 64px);
  max-width: 1420px;
  margin: 6px auto 16px;
  scroll-margin-top: 16px;
}
.home-topics-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 12px;
  margin-bottom: 4px;
}
.home-topics-heading h2 {
  margin: 0;
  font: clamp(18px, 2vw, 24px)/1.2 Georgia, serif;
}
.home-topics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
}
.home-topics-heading > a,
.home-topics-actions > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  color: var(--accent);
  font-size: 13px;
  white-space: nowrap;
  text-underline-offset: 4px;
}
.home-topics-heading > a:hover,
.home-topics-actions > a:hover { text-decoration: underline; }
.home-topics ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-topics li { min-width: 0; }
.home-topic {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--velvet-border, var(--line));
  border-radius: 8px;
  overflow: hidden;
  color: var(--text);
  background: var(--panel);
  text-decoration: none;
}
.home-topic:hover { border-color: var(--accent); }
.home-topic:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.home-topic img {
  display: block;
  width: 100%;
  height: clamp(52px, 6vw, 85px);
  object-fit: cover;
}
.home-topic-copy { display: grid; gap: 2px; padding: 8px 10px 10px; }
.home-topic-copy strong { font: 20px/1.12 Georgia, serif; }
.home-topic-copy small { color: var(--muted); font-size: 12px; line-height: 1.3; }

@media (max-width: 980px) {
  .home-topics ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-topic img { height: clamp(49px, 9vw, 66px); }
}
@media (max-width: 560px) {
  .home-topics { width: calc(100% - 40px); margin-bottom: 8px; }
  .home-topics ul { gap: 8px; }
  .home-topic-copy { padding: 6px 5px 7px; }
  .home-topic-copy strong { font-size: clamp(12px, 3.65vw, 18px); }
  .home-topic-copy small { font-size: 10px; }
}

.home-mobile-start { display: none; }
@media (max-width: 560px) {
  .home-mobile-start {
    display: block;
    width: calc(100% - 40px);
    margin: 8px auto 14px;
  }
  .home-mobile-start .unified-button {
    width: 100%;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
  }
  .home-topics-heading > .home-reading-shortcut,
  .home-topics-actions > .home-reading-shortcut { display: none; }
}

.reading-format-guide-row[data-selected-spread-guide],
.reading-format-guide-row[data-selected-spread-guide] > a { display: none; }
.reading-formats:has(input[name="spread"][value="yes-no"]:checked) [data-selected-spread-guide],
.reading-formats:has(input[name="spread"][value="weekly"]:checked) [data-selected-spread-guide],
.reading-formats:has(input[name="spread"][value="monthly"]:checked) [data-selected-spread-guide] { display: flex; }
.reading-formats:has(input[name="spread"][value="yes-no"]:checked) [data-selected-spread-guide] > a[href="/taro/da-ili-net/"],
.reading-formats:has(input[name="spread"][value="weekly"]:checked) [data-selected-spread-guide] > a[href="/read/rasklad-taro-na-nedelyu/"],
.reading-formats:has(input[name="spread"][value="monthly"]:checked) [data-selected-spread-guide] > a[href="/read/rasklad-taro-na-mesyats/"] { display: inline; }
