/* The site directory ([nam_sitemap]). Loaded only on the page that shows it. */

.nam-sm {
	padding: clamp(1.25rem, 3vw, 1.75rem); border-radius: 24px;
	background: #090d16; border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 15px 35px rgba(147, 51, 234, 0.15);
}
.nam-sm-search { position: relative; margin-bottom: 1.5rem; }
.nam-sm-search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--wp--preset--color--faint); pointer-events: none; }
.nam-sm-search input {
	width: 100%; box-sizing: border-box; padding: 14px 18px 14px 44px; font-size: .9375rem;
	background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px;
}
.nam-sm-search input:focus { border-color: #a855f7; box-shadow: 0 0 15px rgba(168, 85, 247, 0.25); background: rgba(255, 255, 255, 0.05); }

.nam-sm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.5rem; }
.nam-sm-tab {
	cursor: pointer; padding: 8px 16px; border-radius: 8px; font: inherit; font-size: .75rem; font-weight: 600;
	color: var(--wp--preset--color--muted); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
	transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.nam-sm-tab:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nam-sm-tab.is-active { background: rgba(168, 85, 247, 0.15); border-color: rgba(168, 85, 247, 0.6); color: #e9d5ff; box-shadow: 0 0 10px rgba(168, 85, 247, 0.15); }

.nam-sm-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .nam-sm-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .nam-sm-grid { grid-template-columns: 1fr 1fr 1fr; } }
.nam-sm-item[hidden] { display: none; }

.nam-sm-card {
	display: flex; flex-direction: column; height: 100%; box-sizing: border-box; min-height: 150px; padding: 18px;
	color: inherit; text-decoration: none !important;
	background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 14px;
	transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1), background-color .25s, border-color .25s, box-shadow .25s;
}
.nam-sm-card:hover, .nam-sm-card:focus-visible { background: rgba(168, 85, 247, 0.04); border-color: rgba(168, 85, 247, 0.3); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(168, 85, 247, 0.12); }
.nam-sm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.nam-sm-icon { font-size: 24px; line-height: 1; }
.nam-sm-title { font-family: var(--wp--preset--font-family--space-grotesk); font-size: .9375rem; font-weight: 700; color: #f1f5f9; transition: color .25s; }
.nam-sm-card:hover .nam-sm-title { color: #c084fc; }
.nam-sm-desc { flex: 1; font-size: .8125rem; line-height: 1.5; color: var(--wp--preset--color--muted); }
.nam-sm-go { margin-top: 14px; font-size: .75rem; font-weight: 600; color: var(--wp--preset--color--cyan); }
.nam-sm-go::after { content: "\2192"; margin-left: .35em; display: inline-block; transition: transform .25s; }
.nam-sm-card:hover .nam-sm-go::after { transform: translateX(4px); }
.nam-sm-empty { text-align: center; padding: 40px 0 20px; margin: 0; color: var(--wp--preset--color--faint); font-size: .875rem; }
