/* LT3D brand layer for Kadence (free). Loaded only after Website Setup enables "Brand CSS".
   Tokens: Ink #16191B · Spring Green #C9DF56 · Warm Ivory #F8F6EF · Mineral Gray #D5D8D6 · Slate Teal #657C80. */
:root {
	--global-palette1: #16191B; --global-palette2: #3D4447; --global-palette3: #16191B;
	--global-palette4: #2C3134; --global-palette5: #3D4447; --global-palette6: #4F6367;
	--global-palette7: #D5D8D6; --global-palette8: #EFEDE6; --global-palette9: #F8F6EF;
	--global-body-font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	--global-heading-font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
	--global-content-width: 1320px;
}
body { font-family: var(--global-body-font-family); font-size: 18px; line-height: 1.65; background: #F8F6EF; color: #16191B; }
h1, h2, h3 { font-family: var(--global-heading-font-family); font-weight: 800; line-height: 1.15; }
h4, h5, h6 { font-family: var(--global-heading-font-family); font-weight: 700; }
h1 { font-size: 52px; } h2 { font-size: 34px; } h3 { font-size: 24px; }
.entry-content { --lt3d-measure: 720px; }
.single-post .entry-content > p, .single-post .entry-content > ul, .single-post .entry-content > ol { max-width: var(--lt3d-measure); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #C9DF56; outline-offset: 2px; box-shadow: 0 0 0 5px #16191B; }

/* Header + footer: Ink surfaces (verify Kadence selectors on staging). */
#masthead, #masthead .site-header-row-container-inner, #mobile-header .site-header-row-container-inner { background: #16191B; color: #F8F6EF; }
#masthead .site-top-header-wrap .site-header-row-container-inner { border-bottom: 1px solid #2C3134; }
#masthead a, #mobile-header a, #masthead .menu-toggle-open, #mobile-header .menu-toggle-open, #masthead .search-toggle-open, #mobile-header .search-toggle-open { color: #F8F6EF; }
#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a { color: #F8F6EF; font-weight: 600; font-size: 17px; }
#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
#masthead .main-navigation .primary-menu-container > ul > li.current-menu-item > a { color: #C9DF56; }
#masthead .header-button, #mobile-header .mobile-header-button, .wp-block-button__link.is-style-lt3d-cta { background: #C9DF56; color: #16191B !important; border-color: #C9DF56; border-radius: 6px; font-weight: 700; }
.custom-logo { max-height: 62px; width: auto; }
.site-description { color: #F8F6EF; }
#colophon, #colophon .site-footer-row-container-inner { background: #16191B; color: #F8F6EF; }
#colophon a { color: #F8F6EF; } #colophon a:hover { color: #C9DF56; }

/* Buttons: Ink with Ivory text by default (palette1); Spring Green CTAs keep Ink text. */
.button, .wp-block-button__link, button[type="submit"], input[type="submit"] { border-radius: 6px; font-weight: 700; }

/* Homepage composition (1320 px shell, 24 px gaps, 320 px sidebar). */
.lt3d-home { max-width: 1320px; margin: 0 auto; padding: 24px 32px 64px; display: flex; flex-direction: column; gap: 32px; }
.lt3d-home > *, .lt3d-home-main > *, .lt3d-home-sidebar > * { margin-block: 0 !important; }
.lt3d-home-columns { display: flex; gap: 24px !important; align-items: flex-start; margin: 0; }
.lt3d-home-main { flex: 1 1 auto !important; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.lt3d-home-sidebar { flex: 0 0 320px !important; display: flex; flex-direction: column; gap: 24px; }
.lt3d-newsletter-area { background: #16191B; color: #F8F6EF; border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.lt3d-newsletter-area .lt3d-newsletter-title { margin: 0; font-size: 22px; color: #F8F6EF; }
.lt3d-newsletter-area p { margin: 0; font-size: 15px; line-height: 1.45; color: #D5D8D6; }
.lt3d-pending { border: 1px dashed #657C80; border-radius: 6px; padding: 8px; font-size: 13px !important; }

/* Tablet 768–1023 and mobile: one column in reading order —
   Latest Articles (A02 after its lead) → newsletter + A06 → A03 → Latest Videos → A04 (tablet asset only). */
@media (max-width: 1023px) {
	.lt3d-home { padding: 16px 24px 48px; gap: 24px; }
	.lt3d-home-columns { flex-direction: column; flex-wrap: nowrap !important; align-items: stretch; }
	.lt3d-home-main, .lt3d-home-sidebar { display: contents; }
	.lt3d-home-main > * { order: 3; }
	.lt3d-home-main > .wp-block-lt3d-latest-articles { order: 1; }
	.lt3d-home-sidebar > * { order: 4; }
	.lt3d-home-sidebar > .lt3d-newsletter-area { order: 2; }
	h1 { font-size: 42px; } h2 { font-size: 30px; } h3 { font-size: 22px; }
}
@media (max-width: 767px) {
	.lt3d-home { padding: 16px 16px 40px; gap: 16px; }
	h1 { font-size: 34px; } h2 { font-size: 26px; } h3 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
