.advice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}

.advice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
  min-width: 0;
}

.advice-card {
  display: block;
  min-width: 0;
  color: #121212;
}

.advice-card__image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
  border-radius: 20px;
  background: #e5e5e5;
}

.advice-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease;
}

.advice-card:hover img { transform: scale(1.03); }

.advice-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.advice-card__category {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #77791f;
  font-size: 14px;
  font-weight: 600;
}

.advice-card h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.advice-sidebar {
  position: sticky;
  top: 24px;
  min-width: 0;
  padding: 24px;
  border: 1px solid #e3e3e3;
  border-radius: 20px;
  background: #fff;
}

.advice-sidebar h2 {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 800;
}

.advice-sidebar li + li { margin-top: 6px; }

.advice-sidebar a {
  display: block;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #121212;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.advice-sidebar a:hover { background: #f5f5f5; }

.advice-sidebar a[aria-current="page"] {
  border-color: #b5b563;
  background: #f9f7ed;
  font-weight: 700;
}

.advice-layout a:focus-visible { outline: 3px solid #a3a536; outline-offset: 3px; }
.advice-empty { grid-column: 1 / -1; padding: 24px 0; font-size: 18px; }
.advice-article { min-width: 0; }
.advice-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-bottom: 24px; }
.advice-article__author { margin: 0; color: #555; font-size: 16px; }
.advice-reading-time { display: inline-flex; align-items: center; flex-shrink: 0; gap: 7px; color: #666; font-size: 14px; line-height: 1.5; white-space: nowrap; }
.advice-reading-time svg { width: 16px; height: 16px; flex-shrink: 0; }
.advice-breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; font-size: 16px; }
.advice-breadcrumbs__category { display: flex; align-items: center; justify-content: space-between; flex: 1 1 260px; min-width: 0; gap: 12px; }
.advice-breadcrumbs__category > a { min-width: 0; overflow-wrap: anywhere; }
.advice-breadcrumbs a { color: #77791f; text-decoration: underline; text-underline-offset: 3px; }
.advice-article__body { font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.advice-article__body img { max-width: 100%; height: auto; }
.advice-article__body h2 { margin: 24px 0 16px; font-size: 28px; font-weight: 700; line-height: 1.3; }
.advice-article__body h3 { margin: 20px 0 12px; font-size: 22px; font-weight: 700; }
.advice-article__body p + p { margin-top: 16px; }
.advice-article__body ul { margin: 16px 0; padding-left: 24px; list-style: disc; }
.advice-article__body ol { margin: 16px 0; padding-left: 24px; list-style: decimal; }

@media (max-width: 899px) {
  .advice-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 24px; }
  .advice-sidebar { position: static; order: -1; }
}

@media (max-width: 619px) {
  .advice-layout { padding: 32px 20px; }
  .advice-list { grid-template-columns: minmax(0, 1fr); }
  .advice-sidebar { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .advice-card__image img { transition: none; }
}
