/* Theme adjustments apply only to company portal pages. */
.lm-companies.lm-company-article { padding: 0; background: transparent; }
.lm-company-article .lm-article-heading { margin-bottom: 28px; }
.lm-company-article .lm-article-heading h1 { border-left: 3px solid #e63858; padding-left: 18px; margin-bottom: 24px; }
.lm-article-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 18px 0; border-top: 1px solid #36404c; border-bottom: 1px solid #36404c; color: #dce5ee; font-size: 14px; }
.lm-article-body { min-width: 0; color: #f5f7fa; }
.lm-company-article .lm-article-cover { margin: 0 0 28px; }
.lm-article-cover img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 0; }
.lm-article-body img, .lm-article-body video, .lm-article-body iframe { max-width: 100%; }
.lm-article-body pre { max-width: 100%; overflow-x: auto; }
.lm-article-breadcrumb {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	margin: 0 0 28px; padding: 14px 18px; border: 1px solid #36404c;
	border-radius: 0; background: #191e25; color: #dce5ee;
	font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
nav.lm-article-breadcrumb a { color: #9fd8ff; text-decoration: none; }
nav.lm-article-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.lm-article-breadcrumb a:focus-visible { outline: 2px solid #f7bf66; outline-offset: 3px; }
body.lm-portal-page .td-main-content-wrap { padding-top: 24px; padding-bottom: 0; }
body.lm-portal-page .td-main-content-wrap > .td-container,
.lm-public-wrap { width: calc(100% - 48px); max-width: 1192px; margin-left: auto; margin-right: auto; }
body.lm-portal-page .td-main-content-wrap > .td-container > .td-pb-row { margin-left: 0; margin-right: 0; }
body.lm-portal-page .td-main-content { width: 100%; padding-left: 0; padding-right: 0; }
body.lm-portal-page .td-main-sidebar, body.lm-portal-page .td-page-header { display: none; }
body.lm-portal-page .td-page-content { margin-bottom: 0; }
body.lm-portal-page .td-crumb-container { margin-bottom: 8px; }
.lm-companies {
	--lm-text: #f5f7fa; --lm-muted: #b6c1ce; --lm-border: #36404c;
	--lm-panel: #191e25; --lm-link: #9fd8ff;
	/* Newspaper emits its page typography after plugin styles. Scope its color variables here. */
	--td_page_h_color: #f5f7fa; --td_page_content_color: #f5f7fa;
	width: 100%; max-width: none; margin: 24px auto 56px; padding: 28px;
	background: #11161c; border-radius: 0; color: var(--lm-text);
	font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	text-align: left; overflow-wrap: anywhere;
}
.lm-companies *, .lm-companies *::before, .lm-companies *::after { box-sizing: border-box; }
.lm-companies.lm-portal { max-width: none; padding: 0; background: transparent; border-radius: 0; }
.lm-companies h1, .lm-companies h2, .lm-companies h3, .lm-companies h4, .lm-companies label, .lm-companies strong { color: var(--lm-text); font-family: inherit; }
.lm-companies h1 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; font-weight: 700; }
.lm-companies h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.35; font-weight: 650; }
.lm-companies h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.4; font-weight: 650; }
.lm-companies p { margin: 0 0 20px; color: var(--lm-text); font-family: inherit; font-size: 16px; line-height: 1.65; }
.lm-companies a { color: var(--lm-link); text-decoration: none; }
.lm-companies a:hover { color: #fff; text-decoration: underline; }
.lm-companies .lm-description, .lm-companies .lm-field-hint, .lm-companies time { color: var(--lm-muted); }
.lm-companies .lm-eyebrow { margin: 0 0 10px; color: var(--lm-link); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lm-page-heading, .lm-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lm-page-heading { margin-bottom: 28px; }
.lm-page-heading > div, .lm-section-heading > div { min-width: 0; }
.lm-companies .lm-page-heading p:last-child, .lm-companies .lm-section-heading p:last-child { margin-bottom: 0; }
.lm-section-heading { margin-bottom: 28px; }
.lm-panel { padding: 32px; background: var(--lm-panel); border: 1px solid var(--lm-border); border-radius: 0; }
.lm-panel > :last-child { margin-bottom: 0; }
.lm-companies.lm-login { max-width: none; }
.lm-companies .lm-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 8px; background: #191e25; border: 1px solid var(--lm-border); border-radius: 0; }
.lm-companies .lm-nav a { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 18px; color: #dce5ee; border-radius: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }
.lm-companies .lm-nav a:hover { background: #2b3541; color: #fff; text-decoration: none; }
.lm-companies .lm-nav a[aria-current="page"] { background: #24678f; color: #fff; }
.lm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.lm-stat { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: #11161c; border: 1px solid var(--lm-border); border-radius: 0; }
.lm-stat > span { color: var(--lm-muted); font-size: 14px; }
.lm-stat > strong { color: #fff; font-size: 34px; font-weight: 650; line-height: 1.2; }
.lm-stat > strong.lm-status { align-self: flex-start; margin-top: 3px; padding: 5px 12px; border: 1px solid #35694e; border-radius: 0; background: #18382a; color: #a2edbf; font-size: 18px; }
.lm-next-step { padding-top: 28px; border-top: 1px solid var(--lm-border); }
.lm-companies .lm-next-step p { color: var(--lm-muted); }
.lm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lm-companies button, .lm-companies a.lm-button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
	padding: 11px 20px; border: 1px solid #3987b5; border-radius: 0; background: #23648e; color: #fff;
	cursor: pointer; font: 600 15px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	text-decoration: none; text-align: center; transition: background-color .15s;
}
.lm-companies button:hover, .lm-companies a.lm-button:hover { background: #2b78a8; color: #fff; text-decoration: none; }
.lm-companies a.lm-button-secondary, .lm-companies button[value="draft"] { background: #252e39; border-color: #465363; color: #f5f7fa; }
.lm-companies a.lm-button-secondary:hover, .lm-companies button[value="draft"]:hover { background: #354252; }
.lm-page-heading > .lm-button, .lm-section-heading > .lm-button { flex-shrink: 0; }
.lm-companies .lm-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; width: 100%; max-width: none; margin: 24px 0 0; }
.lm-companies .lm-form-register, .lm-companies .lm-form-profile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lm-companies .lm-panel > .lm-form:first-child { margin-top: 0; }
.lm-companies .lm-form label { display: flex; flex-direction: column; gap: 8px; margin: 0; color: #f5f7fa; font-size: 15px; font-weight: 600; line-height: 1.5; min-width: 0; }
.lm-field-label { display: block; }
.lm-field-wide, .lm-form > button { grid-column: 1 / -1; }
.lm-form > button { justify-self: start; margin-top: 4px; }
.lm-required { color: #abdfff; }
.lm-companies .lm-field-hint { display: block; font-size: 13px; font-weight: 400; line-height: 1.5; }
.lm-companies .lm-form input:not([type="hidden"]), .lm-companies .lm-form textarea, .lm-companies .lm-form select {
	display: block; width: 100%; max-width: 100%; min-height: 46px; height: auto; margin: 0; padding: 11px 12px;
	border: 1px solid #aebbc9; border-radius: 0; background: #f7f9fc; color: #17212d;
	font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; box-shadow: none; color-scheme: light;
}
.lm-companies .lm-form input[type="hidden"] { display: none; }
.lm-companies .lm-form textarea { min-height: 150px; resize: vertical; }
.lm-companies .lm-form textarea[name="body"] { min-height: 300px; }
.lm-companies .lm-form input[type="file"] { padding: 9px; font-size: 14px; }
.lm-form input::file-selector-button { padding: 7px 10px; margin-right: 10px; border: 0; border-radius: 0; background: #dce7ef; color: #17212d; cursor: pointer; }
.lm-upload { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 20px; border: 1px dashed #556170; border-radius: 0; }
.lm-upload > img { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 0; }
.lm-companies .lm-form-footer { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--lm-border); color: var(--lm-muted); }
.lm-companies .lm-notice { padding: 16px 20px; margin: 0 0 24px; border: 1px solid #40677e; border-left: 4px solid #8bd2ff; border-radius: 0; background: #1b3241; color: #f0f8ff; }
.lm-companies .lm-section-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--lm-border); }
.lm-companies .lm-section-row .lm-form { margin: 0; }
.lm-companies .lm-section-row .lm-form-section_save { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.lm-companies .lm-section-row button { grid-column: auto; margin: 0; }
.lm-companies .lm-form-section_delete button { background: #32242b; border-color: #76505e; color: #ffdce7; }
.lm-companies table { display: block; width: 100%; max-width: 100%; overflow-x: auto; margin: 20px 0; border-collapse: collapse; color: var(--lm-text); }
.lm-companies th, .lm-companies td { padding: 14px 18px; text-align: left; border: 1px solid var(--lm-border); color: var(--lm-text); font-size: 14px; }
.lm-companies th { background: #252e39; white-space: nowrap; }
.lm-companies td { min-width: 130px; }
.lm-companies td:first-child { width: 100%; min-width: 220px; }
.lm-companies .page-numbers { display: inline-flex; padding: 6px 12px; margin: 8px 4px 0 0; border: 1px solid var(--lm-border); border-radius: 0; color: #f5f7fa; }
.lm-companies .page-numbers.current { background: #24678f; }
.lm-cover { width: 100%; max-height: 320px; object-fit: cover; margin-bottom: 28px; border-radius: 0; }
.lm-header { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; }
.lm-logo { width: 100px; height: 100px; object-fit: contain; background: #fff; border-radius: 0; }
.lm-card { padding: 24px 0; border-bottom: 1px solid var(--lm-border); }
.lm-card img { max-width: 220px; height: auto; margin-bottom: 16px; border-radius: 0; }
.lm-profile-section { margin-bottom: 36px; }
.lm-about-with-images { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.lm-about-carousel { min-width: 0; border: 1px solid var(--lm-border); }
.lm-carousel-viewport { overflow: hidden; aspect-ratio: 4 / 3; background: #191e25; }
.lm-carousel-track { display: flex; height: 100%; transition: transform .55s ease; }
.lm-carousel-slide { flex: 0 0 100%; min-width: 0; height: 100%; }
.lm-carousel-slide img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; border-radius: 0; }
.lm-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px; background: #191e25; }
.lm-carousel-controls[hidden] { display: none; }
.lm-companies .lm-carousel-controls button { min-height: 40px; padding: 6px 14px; }
.lm-carousel-count { color: #dce5ee; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .lm-carousel-track { transition: none; } }
@media (max-width: 767px) { .lm-about-with-images { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.lm-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lm-product-grid:empty { display: none; }
.lm-product { min-width: 0; }
.lm-product-image { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; border: 1px solid var(--lm-border); }
.lm-product-image img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; border-radius: 0; }
.lm-companies .lm-product h3 { margin: 12px 0 0; font-size: 17px; }
.lm-content-card { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 26px; align-items: start; }
.lm-content-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; background: #252e39; }
.lm-card .lm-content-image img { display: block; width: 100%; height: 100%; max-width: 100%; margin: 0; object-fit: cover; }
.lm-content-summary { min-width: 0; }
.lm-companies .lm-content-summary h3 { margin-bottom: 12px; font-size: 21px; }
.lm-companies .lm-content-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; color: #dce5ee; }
.lm-content-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--lm-muted); }
.lm-inquiry { margin-top: 44px; padding: 32px; border: 1px solid var(--lm-border); background: #191e25; }
.lm-inquiry-heading { max-width: 720px; margin-bottom: 26px; }
.lm-companies .lm-inquiry-heading > :last-child { margin-bottom: 0; color: var(--lm-muted); }
.lm-companies .lm-inquiry-form { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.lm-inquiry-form .lm-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.lm-form-register .lm-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.lm-companies .lm-form .lm-consent { flex-direction: row; align-items: flex-start; gap: 10px; }
.lm-companies .lm-form .lm-consent input { width: 20px; height: 20px; min-height: 20px; margin-top: 2px; flex: 0 0 20px; }
.lm-companies .lm-notice-error { border-color: #7a4653; border-left-color: #ff8aa6; background: #3a222a; color: #ffe8ee; }
.lm-product-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lm-product-field { display: flex; flex-direction: column; gap: 16px; min-width: 0; margin: 0; padding: 20px; border: 1px solid var(--lm-border); }
.lm-product-field legend { padding: 0 8px; color: #fff; font-weight: 600; }
.lm-product-preview { width: 100%; height: 150px; object-fit: contain; background: #fff; }
.lm-companies .lm-form .lm-product-remove { flex-direction: row; align-items: center; }
.lm-companies .lm-form .lm-product-remove input { width: 20px; min-height: 20px; height: 20px; flex-shrink: 0; }
@media (max-width: 1023px) {
	.lm-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.lm-content-card { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
	.lm-content-card, .lm-product-fields { grid-template-columns: minmax(0, 1fr); }
	.lm-content-image { width: 100%; aspect-ratio: 16 / 9; }
	.lm-product-grid { gap: 16px; }
}
.lm-companies :focus-visible { outline: 3px solid #f7bf66; outline-offset: 3px; }
@media (max-width: 767px) {
	body.lm-portal-page .td-main-content-wrap > .td-container,
	.lm-public-wrap { width: calc(100% - 32px); }
	body.lm-portal-page .td-main-content-wrap { padding-top: 16px; }
	.lm-companies { padding: 20px; margin-top: 16px; margin-bottom: 32px; }
	.lm-page-heading, .lm-section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
	.lm-panel { padding: 22px; }
	.lm-stats { gap: 12px; }
	.lm-stat { padding: 16px; }
	.lm-stat > strong { font-size: 28px; }
	.lm-companies .lm-nav { gap: 4px; padding: 6px; }
	.lm-companies .lm-nav a { flex: 1 1 auto; padding: 10px 12px; font-size: 14px; }
	.lm-companies .lm-form-register, .lm-companies .lm-form-profile { grid-template-columns: minmax(0, 1fr); }
	.lm-companies .lm-inquiry-form { grid-template-columns: minmax(0, 1fr); }
	.lm-inquiry { padding: 22px; margin-top: 32px; }
	.lm-companies .lm-section-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
	.lm-panel { padding: 18px; }
	.lm-stats { grid-template-columns: minmax(0, 1fr); }
	.lm-stat { flex-direction: row; align-items: center; justify-content: space-between; }
	.lm-stat > strong.lm-status { margin: 0; }
	.lm-actions, .lm-actions .lm-button { width: 100%; }
	.lm-companies .lm-form > button { width: 100%; }
	.lm-companies .lm-section-row .lm-form-section_save { grid-template-columns: minmax(0, 1fr); }
	.lm-header { align-items: flex-start; gap: 16px; }
	.lm-logo { width: 72px; height: 72px; }
}
