/* Site extensions (icons, map, quick bar) — used with modern.css */

.m-ico {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.m-ico-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--accent-glow);
  color: var(--accent);
  flex-shrink: 0;
}

.m-ico-box--lg {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
}

.m-stat--plus {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.m-stat--plus .m-ico-box { margin-top: 0.15rem; }

.m-card--plus h3,
.m-bento__item--plus h3,
.m-pillar--plus h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.m-card--plus .m-ico-box,
.m-bento__item--plus .m-ico-box {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.75rem;
}

.m-feature--plus .m-feature__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.m-channel--plus {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.m-channel--plus .m-channel__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.m-quickbar {
  position: sticky;
  bottom: 1.25rem;
  z-index: 50;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  pointer-events: none;
}

.m-quickbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  backdrop-filter: blur(12px);
}

.m-quickbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  border-radius: 999px;
  transition: background var(--t), color var(--t);
}

.m-quickbar a:hover {
  background: var(--bg-muted);
  color: var(--text);
}

.m-quickbar a .m-ico { width: 1rem; height: 1rem; }

.m-location-plus {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.m-location-plus__panel {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.m-map {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.m-map__embed {
  flex: 1;
  width: 100%;
  min-height: 300px;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}

[data-theme="dark"] .m-map__embed {
  filter: invert(0.92) hue-rotate(180deg) contrast(1.05);
}

.m-map__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

.m-map__footer a {
  font-weight: 600;
  text-decoration: none;
}

.m-timeline--plus li {
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.m-timeline--plus .m-ico-box {
  width: 2.25rem;
  height: 2.25rem;
}

.m-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.m-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--chip-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.m-hero__chip .m-ico {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--accent);
}

.m-cta-band {
  padding: 2.5rem var(--gutter);
  background: var(--quote-bg);
  color: #fff;
}

.m-cta-band__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.m-cta-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
}

.m-cta-band p {
  margin: 0.35rem 0 0;
  opacity: 0.85;
  max-width: 36rem;
}

.m-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.m-cta-band .m-btn--primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.m-cta-band .m-btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.m-cta-band .m-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 1024px) {
  .m-location-plus { grid-template-columns: 1fr; }
  .m-map { min-height: 280px; }
}

@media (max-width: 768px) {
  .m-quickbar { display: none; }
}
