/* ID Page Template — Knowledge Graph / local entity signals */

:root {
  --color-text: #1a1a1a;
  --color-text-muted: #5c5c5c;
  --color-bg: #fafafa;
  --color-surface: #ffffff;
  --color-border: #e8e8e8;
  --color-accent: #0d47a1;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --max-width: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.site-logo {
  display: block;
  max-height: 64px;
  width: auto;
  flex-shrink: 0;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.35rem 0;
}

.site-nav__link:hover {
  color: var(--color-accent);
}

.site-nav__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.site-nav__contact:hover {
  background: #0a3d8a;
  text-decoration: none;
  transform: translateY(-1px);
}

.site-nav__contact:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.site-logo img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.section {
  margin-bottom: 2.5rem;
}

.section:last-of-type {
  margin-bottom: 0;
}

.banner {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  background: var(--color-border);
}

.banner img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: var(--color-text);
}

h2 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  color: var(--color-text);
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: var(--color-text);
}

h3:first-child {
  margin-top: 0;
}

.lead {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  max-width: 70ch;
}

.embed {
  position: relative;
  width: 100%;
  margin: 1rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.embed--video {
  aspect-ratio: 16 / 9;
}

.embed--map {
  aspect-ratio: 16 / 9;
}

/* Fallback for browsers/environments without aspect-ratio support */
@supports not (aspect-ratio: 16 / 9) {
  .embed--video,
  .embed--map {
    height: 0;
    padding-top: 56.25%; /* 16:9 */
  }
}

.embed--video iframe,
.embed--map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed--sheet iframe,
.embed--wiki iframe {
  display: block;
  width: 100%;
  min-height: 400px;
  border: 0;
}

.embed--generic iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}

.site-footer {
  background: #1e293b;
  color: #e2e8f0;
  margin-top: 2rem;
  padding: 2.5rem 1.25rem 2rem;
}

.site-footer a {
  color: #93c5fd;
}

.site-footer a:hover {
  color: #bfdbfe;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.footer-top .footer-block {
  margin-bottom: 0;
}

.business-details {
  margin-top: 0.75rem;
  color: #e2e8f0;
}

.business-details p {
  margin: 0.35rem 0;
}

.business-details a {
  color: #93c5fd;
}

.business-details a:hover {
  color: #bfdbfe;
}

@media (max-width: 720px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-block {
  margin-bottom: 2.5rem;
}

.footer-block:last-child {
  margin-bottom: 0;
}

.site-footer h2 {
  color: #f8fafc;
  border-bottom-color: #475569;
  font-size: 1.125rem;
}

.site-footer h3 {
  color: #e2e8f0;
}

.useful-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.useful-links a {
  display: block;
  padding: 0.35rem 0;
}

.useful-links a p {
  margin: 0;
  font-size: 1rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.75rem;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #334155;
  color: #f8fafc;
  transition: background 0.2s, transform 0.15s;
}

.social-row a:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.social-row svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
