/* Website section buttons, independent of the editorial category filter. */
.home-layout .home-quick-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.home-layout .home-quick-buttons:not(:has(> a)) { display: none; }
.home-quick-buttons > a.quick-section-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  min-height: 56px;
  padding: 10px;
  border: 1px solid #e1e2e7;
  border-radius: 8px;
  background: #fff;
  color: #25252c;
  box-shadow: 0 2px 3px rgb(22 22 30 / .035);
  font-family: Inter, 'Noto Sans Devanagari', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  transform: none;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.home-quick-buttons .quick-section-button > .icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #c6001b;
  stroke-width: 1.8;
}
.home-quick-buttons .quick-section-button > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.home-quick-buttons .quick-section-button:active {
  border-color: #cf001c;
  background: #cf001c;
  color: #fff;
  transform: translateY(1px);
}
.home-quick-buttons .quick-section-button:active > .icon { color: inherit; }
@media (hover: hover) {
  .home-quick-buttons .quick-section-button:hover:not(:active) {
    border-color: #cf001c;
    background: #cf001c;
    color: #fff;
    box-shadow: 0 2px 3px rgb(22 22 30 / .035);
    transform: none;
  }
  .home-quick-buttons .quick-section-button:hover > .icon { color: inherit; }
}
.home-quick-buttons .quick-section-button:focus-visible {
  outline: 2px solid #b50019;
  outline-offset: 3px;
}
@media (max-width: 359px) {
  .home-layout .home-quick-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 701px) {
  .home-layout .home-quick-buttons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(8px, 1vw, 16px);
    margin-block: 6px 22px;
  }
  .home-quick-buttons > a.quick-section-button {
    min-height: 54px;
    gap: clamp(8px, 1vw, 14px);
    padding: 10px clamp(10px, 1.3vw, 20px);
    border-radius: 6px;
    box-shadow: none;
    font-size: clamp(12px, .98vw, 15px);
  }
  .home-quick-buttons .quick-section-button > .icon { flex-basis: 22px; width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-quick-buttons > a.quick-section-button { transition: none; }
}
