@import url("/assets/theme.css?v=20261118-editorial1");

.activity-copy + .activity-copy {
  margin-top: 0.75em;
}

.activity-sources {
  margin: 0 0 0.75rem;
  padding-inline-start: 1.25rem;
}

.detail-metric-grid {
  margin: 0;
}

.detail-metric-value {
  margin: 0;
}

.info-card .activity-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 12px;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.activity-directory h2 {
  font-size: 1rem;
  line-height: 1.45;
  margin: 0;
}

.activity-directory p {
  margin: 0.4rem 0 0;
}

.activity-directory a,
.info-card > p a,
.site-footer-bottom a {
  color: var(--brand, #1e4ed8);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

/* SEO & GEO Structured Modules */
.detail-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.seo-breadcrumb {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

.seo-breadcrumb a {
  color: #334155;
  text-decoration: none;
}

.seo-breadcrumb a:hover {
  color: #1e4ed8;
  text-decoration: underline;
}

.seo-topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.seo-topic-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.seo-topic-pill:hover {
  background: #dbeafe;
}

.activity-directory .is-card-link {
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.activity-directory .is-card-link:hover,
.activity-directory .is-card-link:focus-visible {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 12px 28px rgba(30, 78, 216, 0.12);
  outline: none;
}

.activity-directory .is-card-link > h2 a,
.activity-directory .is-card-link > h3 a {
  display: inline;
  color: #0f172a;
  text-decoration: none;
}

.activity-directory .is-card-link > h2 a::after,
.activity-directory .is-card-link > h3 a::after {
  content: " ↗";
  color: var(--brand, #1e4ed8);
  font-size: 0.82em;
}

.topic-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.1rem 0 1.5rem;
}

.topic-category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #1e293b;
  background: #f8fafc;
  font-weight: 650;
  text-decoration: none;
}

.topic-category-nav a:hover,
.topic-category-nav a:focus-visible {
  color: #1d4ed8;
  border-color: #93c5fd;
  background: #eff6ff;
}

.topic-category-section {
  scroll-margin-top: 24px;
  margin-top: 1.6rem;
}

.topic-card-link,
.topic-activity-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
}

.topic-card-title {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.45;
}

.topic-card-summary {
  display: -webkit-box;
  margin-top: 0.55rem;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.65;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.topic-card-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 0.8rem;
  color: #1d4ed8;
  font-size: 0.86rem;
  font-weight: 700;
}

.topic-index-card,
.topic-activity-card {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.topic-index-card:hover,
.topic-index-card:focus-within,
.topic-activity-card:hover,
.topic-activity-card:focus-within {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 12px 28px rgba(30, 78, 216, 0.1);
}

.topic-activity-link .seo-card-meta {
  display: block;
  margin-top: 0.55rem;
  line-height: 1.55;
}

.topic-compact-card > p:not(.seo-card-meta):not(.topic-card-summary-source),
.topic-compact-card > .topic-card-more {
  margin-top: 0.65rem;
}

.topic-compact-card .topic-card-action-link {
  display: inline-flex;
  margin-top: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.topic-card-more {
  border-top: 1px solid #e2e8f0;
  padding-top: 0.65rem;
  color: #475569;
}

.topic-card-more summary {
  cursor: pointer;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 650;
}

.topic-card-more[open] summary {
  margin-bottom: 0.55rem;
}

.topic-card-more p {
  font-size: 0.85rem;
  line-height: 1.65;
}

.seo-ai-summary {
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  border-left: 4px solid #1e4ed8;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0.75rem 0 1rem;
}

.seo-bullet-list {
  margin: 0.6rem 0 0;
  padding-inline-start: 1.2rem;
  color: #1e293b;
  font-size: 0.92rem;
  line-height: 1.65;
}

.seo-bullet-list li + li {
  margin-top: 4px;
}

.seo-faq-list,
.seo-topic-faq {
  display: grid;
  gap: 10px;
  margin-top: 0.75rem;
}

.seo-faq-item {
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.seo-faq-item h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: #0f172a;
  line-height: 1.45;
}

.seo-faq-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.6;
}

.seo-related-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.seo-related-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.seo-related-list a {
  color: #1e4ed8;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}

.seo-related-list a:hover {
  text-decoration: underline;
}

.seo-rel-meta,
.seo-card-meta {
  font-size: 0.82rem;
  color: #64748b;
}

.seo-card-path {
  font-size: 0.84rem;
  color: #475569;
}

.seo-hub-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0.75rem 0 1.25rem;
}

.seo-hub-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none !important;
}

.seo-hub-chip:hover,
.seo-hub-chip.is-active {
  background: #1e4ed8;
  border-color: #1e4ed8;
  color: #ffffff !important;
}

.seo-ended-sub {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.seo-ended-sub ul {
  padding-inline-start: 1.2rem;
  color: #475569;
  line-height: 1.7;
}
