/* Business Atlas frame. System fonts only: nothing extra to download. */
body.bam-shell { margin: 0; background: #fff; color: #102A33; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.bam-shell *, body.bam-shell *::before, body.bam-shell *::after { box-sizing: border-box; }
.bam-shell img { max-width: 100%; height: auto; }
.bam-shell a { color: #0F5C5A; }
.bam-skip { position: absolute; left: -9999px; }
.bam-skip:focus { left: 12px; top: 12px; z-index: 1000; background: #fff; padding: 8px 12px; }

/* header */
.bam-top { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 60; display: flex; align-items: center; gap: 16px 28px; padding: 8px 24px; background: #fff; border-bottom: 1px solid #D3DEE1; }
.bam-top-logo { display: flex; align-items: center; flex: none; }
.bam-top-logo img { height: 48px; width: auto; display: block; }
.bam-top-nav { display: flex; align-items: center; gap: 12px 24px; flex: 1; }
.bam-top-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; flex: 1; }
.bam-top-menu li { margin: 0; }
.bam-top-menu a { color: #102A33; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 0; display: inline-block; }
.bam-top-menu .current-menu-item > a, .bam-top-menu a:hover { color: #0F5C5A; box-shadow: inset 0 -2px 0 #0F5C5A; }
.bam-top-cta { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #0F5C5A; color: #fff !important; font-weight: 700; font-size: .95rem; text-decoration: none; }
.bam-top-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid #D3DEE1; border-radius: 12px; background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0; }
.bam-top-toggle span { width: 20px; height: 2px; background: #102A33; border-radius: 2px; transition: transform .2s; }
.bam-menu-open .bam-top-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bam-menu-open .bam-top-toggle span:nth-child(2) { opacity: 0; }
.bam-menu-open .bam-top-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
	.bam-top { padding: 6px 16px; }
	.bam-top-logo img { height: 42px; }
	.bam-top-toggle { display: flex; }
	.bam-top-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid #D3DEE1; box-shadow: 0 16px 30px -18px rgba(16,42,51,.45); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
	.bam-menu-open .bam-top-nav { display: flex; }
	.bam-top-menu { flex-direction: column; gap: 0; }
	.bam-top-menu li { border-bottom: 1px solid #E5ECEE; }
	.bam-top-menu a { display: block; padding: 14px 4px; font-size: 1.05rem; box-shadow: none !important; }
	.bam-top-cta { justify-content: center; margin-top: 12px; min-height: 50px; }
}

/* page body */
.bam-main { min-height: 50vh; }
.bam-prose { max-width: 760px; margin: 0 auto; padding: 40px 20px 56px; }
.bam-prose h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; margin: 6px 0 12px; }
.bam-prose-k { font-size: .85rem; font-weight: 700; color: #0F5C5A; }
.bam-prose-meta { color: #4F6670; font-size: .9rem; margin: 0 0 18px; }
.bam-prose-hero { margin: 0 0 24px; }
.bam-prose-hero img { width: 100%; border-radius: 16px; display: block; }
.bam-prose-body > * { margin-top: 0; margin-bottom: 1.1em; }
.bam-prose-body h2 { font-size: 1.6rem; line-height: 1.2; margin-top: 1.6em; }
.bam-prose-body h3 { font-size: 1.25rem; margin-top: 1.4em; }
.bam-prose-body img { border-radius: 12px; }
.bam-guides-index .bam-guide-x { color: #4F6670; font-size: .92rem; }
.bam-pager { margin-top: 28px; }
.bam-pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.bam-pager .page-numbers { padding: 8px 12px; border: 1px solid #D3DEE1; border-radius: 8px; text-decoration: none; }

/* listing page */
.bam-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 4px; background: #102A33; -webkit-overflow-scrolling: touch; }
.bam-gallery img { flex: none; width: 100%; max-width: 960px; height: min(56vw, 460px); object-fit: cover; scroll-snap-align: start; display: block; }
.bam-gallery img:only-child { margin: 0 auto; }
.bam-listing-in { max-width: 820px; margin: 0 auto; padding: 24px 20px 56px; }
.bam-listing-title { font-size: clamp(1.9rem, 4.6vw, 2.8rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 6px; color: #102A33; }
.bam-listing-tag { font-size: 1.1rem; margin: 0 0 4px; }
.bam-listing-where { color: #4F6670; margin: 0 0 16px; }
.bam-listing-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.bam-listing-acts .bam-btn { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; border-radius: 999px; }
.bam .bam-ghost { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #D3DEE1; color: #102A33; font-weight: 700; text-decoration: none; font-size: .92rem; }
.bam-listing .bam-lsave { min-height: 44px; padding: 0 14px; font-size: .9rem; }
.bam-listing-about h2 { font-size: 1.3rem; margin: 8px 0 8px; }
.bam-listing .bam-lbox-ask summary { display: none; }
.bam-listing .bam-lbox-ask { display: block; }
.bam-listing .bam-lbox-ask .bam-ask-form { display: flex; }

/* footer */
.bam-foot { background: #F3F6F6; border-top: 1px solid #D3DEE1; margin-top: 40px; }
.bam-foot-in { max-width: 1120px; margin: 0 auto; padding: 32px 24px calc(32px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: .9rem; color: #4F6670; }
.bam-foot-in img { height: 48px; width: auto; }
.bam-foot-in p { margin: 0; flex: 1 1 220px; }
.bam-foot-in nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.bam-foot-in small { flex-basis: 100%; }
