/* ====== Articles sidebar (home / posts / article 共通) ====== */
/*
  共通 partial: resources/views/partials/home/sidebar.blade.php
  関連チケット: IT_SCOOPERS-42
  ここで一元管理。 各ページ CSS には書かない。
*/
.lds-articles-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
}
.lds-side-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #888;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-family: inherit;
}
.lds-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  transition: border-color 0.2s ease;
}
.lds-search-form:focus-within { border-color: #f0683a; }
.lds-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.85rem;
  background: transparent;
  color: #0a0a0f;
  font-family: inherit;
}
.lds-search-input::placeholder { color: #aaa; }
.lds-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  display: flex;
  padding: 0;
}
.lds-search-btn:hover { color: #d44e1d; }
.lds-side-popular {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lds-side-popular li a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: baseline;
  text-decoration: none;
  color: #2a2a35;
  font-size: 0.83rem;
  line-height: 1.5;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
  transition: opacity 0.2s ease;
}
.lds-side-popular li:last-child a { border-bottom: none; }
.lds-side-popular li a:hover { opacity: 0.65; }
.lds-side-rank {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: #f0683a;
  line-height: 1;
}
.lds-side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lds-side-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: #555;
  background: #fbf6ef;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 5px 11px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.lds-side-tag:hover {
  background: #f0683a;
  color: #fff;
  border-color: #f0683a;
}
@media (max-width: 1024px) {
  .lds-articles-sidebar { position: static; }
}
