/* LaserGenerator SEO: tool pages and hubs. Loaded only on pages that use these components.
   Brand: Space Grotesk headings, Inter body, orange actions, blue highlights (same as the homepage). */
:root {
	--lg-ink: #17161a;
	--lg-ink-2: #4b4a52;
	--lg-ink-3: #77757e;
	--lg-line: #e4e0d7;
	--lg-paper: #f7f5f0;
	--lg-accent: #ff5a1f;
	--lg-accent-ink: #d9430f;
	--lg-blue: #0a9bff;
	--lg-blue-ink: #006fcf;
	--lg-blue-2: #e3f2ff;
}

.lg-tool-hero, .lg-tool-body, .lg-faq, .lg-related, .lg-cta-band, .lg-tm, .lg-hub {
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--lg-ink-2);
}
.lg-tool-body, .lg-hub { font-size: 17px; line-height: 1.7; }

.lg-tool-hero h1, .lg-tool-body h2, .lg-tool-body h3, .lg-faq h2, .lg-related h2, .lg-hub h1, .lg-hub h2, .lg-hub h3 {
	font-family: "Space Grotesk", Inter, sans-serif;
	color: var(--lg-ink);
	letter-spacing: -0.02em;
	line-height: 1.15;
}
.lg-tool-body h2, .lg-hub h2 { font-size: clamp(24px, 3vw, 30px); margin: 2.2em 0 0.6em; }
.lg-tool-body h3, .lg-hub h3 { font-size: 20px; margin: 1.6em 0 0.4em; }
.lg-tool-body a, .lg-hub a:not(.lg-btn):not(.lg-card) { color: var(--lg-blue-ink); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lg-tool-body strong, .lg-hub strong { color: var(--lg-ink); }

/* The theme stacks two large spacers above page content; tighten them on tool pages and hubs. */
body.single-lg_tool main.wp-block-group, main.wp-block-group:has(.lg-hub) { margin-top: 0 !important; }
body.single-lg_tool main.wp-block-group > .wp-block-group:first-child, main.wp-block-group:has(.lg-hub) > .wp-block-group:first-child { padding-top: 28px !important; }

/* hero */
.lg-tool-hero { padding: 8px 0 28px; border-bottom: 1px solid var(--lg-line); margin-bottom: 8px; }
.lg-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lg-ink-3); }
.lg-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lg-blue); box-shadow: 0 0 0 3px rgba(10, 155, 255, .25); }
.lg-tool-hero h1, .lg-hub h1 { font-size: clamp(34px, 5vw, 52px); margin: 0 0 14px; }
.lg-lead { font-size: 19px; line-height: 1.6; color: var(--lg-ink-2); margin: 0 0 22px; max-width: 46em; }

/* buttons */
.lg-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 0 22px; }
.lg-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 12px; background: var(--lg-accent); color: #fff !important; font: 600 16px/1 Inter, system-ui, sans-serif; text-decoration: none !important; box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 6px 18px rgba(255, 90, 31, .25); transition: background .15s, transform .15s; }
.lg-btn:hover { background: var(--lg-accent-ink); transform: translateY(-1px); }
.lg-btn:focus-visible { outline: 3px solid var(--lg-blue); outline-offset: 2px; }
.lg-btn-light { background: #fff; color: var(--lg-ink) !important; box-shadow: none; }
.lg-btn-light:hover { background: var(--lg-blue-2); }
.lg-cta-note { font-size: 14px; color: var(--lg-ink-3); }

/* facts row */
.lg-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 0; }
.lg-facts div { background: var(--lg-paper); border: 1px solid var(--lg-line); border-radius: 12px; padding: 12px 14px; }
.lg-facts dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lg-ink-3); margin: 0 0 4px; }
.lg-facts dd { margin: 0; font-size: 14px; line-height: 1.45; color: var(--lg-ink); }

/* body content */
.lg-tool-body table, .lg-hub table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1em 0 1.4em; }
.lg-tool-body th, .lg-tool-body td, .lg-hub th, .lg-hub td { text-align: left; vertical-align: top; padding: 10px 10px; border-bottom: 1px solid var(--lg-line); }
.lg-tool-body th, .lg-hub th { color: var(--lg-ink); font-weight: 600; background: var(--lg-paper); }
.lg-tool-body figure.wp-block-table, .lg-hub figure.wp-block-table { overflow-x: auto; margin: 0; }
.lg-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1em 0 1.4em; }
.lg-table table { margin: 0; }
.lg-table-wide table { min-width: 560px; }
.lg-tool-body ul, .lg-tool-body ol, .lg-hub ul, .lg-hub ol { padding-left: 1.3em; }
.lg-tool-body li, .lg-hub li { margin: .3em 0; }
.lg-note { background: var(--lg-blue-2); border-left: 4px solid var(--lg-blue); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 1.4em 0; color: var(--lg-ink); font-size: 16px; }
.lg-warn { background: #fff4ec; border-left: 4px solid var(--lg-accent); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 1.4em 0; color: var(--lg-ink); font-size: 16px; }
.lg-note p, .lg-warn p { margin: 0; }

/* FAQ */
.lg-faq { margin-top: 2.4em; }
.lg-faq h2, .lg-related h2 { font-size: clamp(24px, 3vw, 30px); margin: 0 0 14px; }
.lg-faq details { border: 1px solid var(--lg-line); border-radius: 12px; padding: 0 18px; margin: 0 0 10px; background: #fff; }
.lg-faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 600; color: var(--lg-ink); position: relative; }
.lg-faq summary::-webkit-details-marker { display: none; }
.lg-faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 22px; color: var(--lg-ink-3); }
.lg-faq details[open] summary::after { content: "\2013"; }
.lg-faq details p { margin: 0 0 16px; line-height: 1.65; }

/* cards */
.lg-related { margin-top: 2.4em; }
.lg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 0 0 1.4em; }
.lg-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--lg-line); border-radius: 14px; background: #fff; text-decoration: none !important; color: var(--lg-ink-2) !important; font-size: 14px; line-height: 1.5; transition: border-color .15s, box-shadow .15s, transform .15s; }
.lg-card strong { font: 600 17px/1.25 "Space Grotesk", Inter, sans-serif; color: var(--lg-ink); }
.lg-card em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--lg-blue-ink); margin-top: auto; }
.lg-card:hover { border-color: var(--lg-blue); box-shadow: 0 6px 20px rgba(10, 155, 255, .12); transform: translateY(-1px); }

/* closing CTA band */
.lg-cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin: 2.6em 0 1em; padding: 22px 24px; border-radius: 18px; background: var(--lg-ink); color: #d9d7de; }
.lg-cta-band p { margin: 0; font-size: 17px; }
.lg-cta-band strong { color: #fff; }

.lg-tm { font-size: 12px; line-height: 1.5; color: var(--lg-ink-3); margin: 1.6em 0 0; }

/* hub: full studio directory */
.lg-index section { margin: 0 0 1.6em; }
.lg-index h3 { font-size: 19px; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--lg-line); }
.lg-index ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 22px; }
.lg-index li { margin: 0; padding: 8px 0; font-size: 14px; line-height: 1.45; }
.lg-index li a { display: block; text-decoration: none !important; }
.lg-index li strong { color: var(--lg-ink); font-weight: 600; }
.lg-index li a:hover strong { color: var(--lg-blue-ink); text-decoration: underline; }
.lg-index li small { font-size: 11px; font-weight: 600; color: var(--lg-ink-3); text-transform: uppercase; letter-spacing: .04em; }
.lg-index li span { display: block; color: var(--lg-ink-3); }

@media (max-width: 600px) {
	.lg-tool-body, .lg-hub { font-size: 16px; }
	.lg-lead { font-size: 17px; }
	.lg-btn { width: 100%; justify-content: center; }
	.lg-cta-band { padding: 18px; }
}
