/* Static Safety Education: hub /static-safety-education/ and its 10 guide pages (D-41, 2026-11-05).
   Loaded by the page kit on the hub and its child pages only. Layouts: tools/build_static_education.py (+ .php);
   shortcodes [lind_sse_nav] and [lind_sse_pager]: inc/pages/static-safety-education.php. */

/* The theme sets overflow-x: hidden on html and body (default.css); on body that makes it a scroll box that never
   scrolls, and the guides' sticky side card never sticks. clip hides the same horizontal overflow without a scroll box
   (same fix as assets/pages/warranty.css; browsers without clip keep hidden and the card scrolls with the page). */
body { overflow-x: clip; }

/* ---------- Hub: guide cards (RS Services Grid style 9, class lind-sse-card) ---------- */
.lind-sse-cards > .elementor-widget,
.lind-sse-card > .elementor-widget-container,
.lind-sse-card .rs-addon-services,
.lind-sse-card .services-inner { height: 100%; }
.lind-sse-card .services-inner { position: relative; display: flex; flex-direction: column; transition: box-shadow 0.3s ease, transform 0.3s ease; }
.lind-sse-card .content_part { display: flex; flex-direction: column; flex: 1; }
.lind-sse-card .desc-text { display: flex; flex-direction: column; flex: 1; font-size: 16px; line-height: 1.6; }
/* The whole card opens the guide: the title link covers the card (one link per card for screen readers). */
.lind-sse-card .services-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.lind-sse-card .services-title a { color: inherit; }
.lind-sse-card .services-inner:hover { transform: translateY(-4px); }
.lind-sse-card .services-inner:hover .services-title a { color: #118cc9; }
.lind-sse-card__time {
	display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 34px;
	font-family: "Raleway", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #666;
}
/* Text in the brand's muted grey (#666 on the #f5f5f5 card: 5.3:1, WCAG AA for 13px text; Lind Blue would be 3.4:1),
   as the guides' own "x min read" line; the icon stays Lind Blue. */
.lind-sse-card__time i { font-size: 16px; color: #118cc9; }
.lind-sse-card .icon_style i { font-size: 40px; line-height: 1; color: #118cc9; }
.lind-sse-card .numbering { font-family: "Raleway", sans-serif; font-weight: 800; }
/* Feature cards (products, suggest a topic): Lind Blue, white text. */
.lind-sse-card--feature .services-inner { background: #118cc9 !important; }
.lind-sse-card--feature .services-title a,
.lind-sse-card--feature .desc-text,
.lind-sse-card--feature .lind-sse-card__time,
.lind-sse-card--feature .icon_style i { color: #fff !important; }
.lind-sse-card--feature .services-inner:hover .services-title a { color: #fff; }
.lind-sse-card--feature .services-inner:hover { box-shadow: 0 18px 40px rgba(17, 140, 201, 0.25); }
@media (prefers-reduced-motion: reduce) {
	.lind-sse-card .services-inner { transition: none; }
	.lind-sse-card .services-inner:hover { transform: none; }
}

/* ---------- Guides: article ---------- */
.lind-sse-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-size: 15px; color: #666; }
.lind-sse-meta span { display: inline-flex; align-items: center; gap: 6px; }
.lind-sse-meta span + span::before { content: ""; width: 4px; height: 4px; margin-right: 14px; border-radius: 50%; background: #c4c4c4; }
.lind-sse-meta i { font-size: 17px; color: #118cc9; }

.lind-sse-body { font-size: 18px; line-height: 1.75; }
.lind-sse-body p,
.lind-sse-body ul,
.lind-sse-body ol { margin: 0 0 20px; }
.lind-sse-body ul,
.lind-sse-body ol { padding-left: 24px; }
.lind-sse-body li { margin-bottom: 8px; padding-left: 4px; }
.lind-sse-body li::marker { color: #118cc9; font-weight: 700; }
.lind-sse-body h2 { margin: 52px 0 16px; font-size: 28px; line-height: 1.25; scroll-margin-top: 110px; }
.lind-sse-body h3 { margin: 36px 0 12px; font-size: 21px; line-height: 1.3; scroll-margin-top: 110px; }
.lind-sse-body h2 + h3 { margin-top: 20px; }
.lind-sse-body > .elementor-widget-container > :first-child,
.lind-sse-body > :first-child { margin-top: 0; }
.lind-sse-body a { color: #118cc9; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lind-sse-body a:hover { color: #0d6fa1; }
.lind-sse-body strong { color: #1f1f1f; }

/* Photos: light grey card with the Lind cut corner, product photo contained, caption = product name. */
.lind-sse-figure {
	margin: 28px 0 32px; padding: 28px 28px 18px; background: #f5f5f5;
	clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
}
.lind-sse-figure img { display: block; width: auto; max-width: 100%; height: auto; max-height: 300px; margin: 0 auto; object-fit: contain; }
.lind-sse-figure figcaption { margin-top: 14px; font-size: 14px; line-height: 1.5; color: #666; text-align: center; }
@media (max-width: 767px) {
	.lind-sse-figure { padding: 20px 16px 14px; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
	.lind-sse-figure img { max-height: 240px; }
}

/* Tables. Header cells keep dark text (the theme makes <th> white elsewhere). On phones each row becomes a card (below). */
.lind-sse-table { margin: 24px 0 32px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lind-sse-table table { width: 100%; min-width: 560px; margin: 0; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.lind-sse-table th,
.lind-sse-table td { padding: 12px 14px; border: 0; border-bottom: 1px solid #e3e3e3; text-align: left; vertical-align: top; }
.lind-sse-table th { background: #f5f5f5; color: #1f1f1f !important; font-family: "Raleway", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.lind-sse-table td:first-child { font-weight: 700; color: #1f1f1f; }
.lind-sse-table a { font-weight: 700; }
/* Phones (600px and less, where the 560px table no longer fits): one card per row, nothing to scroll sideways. The
   first cell is the card title; every other cell shows its column title above the value (data-label, set by the build
   script; the / "" alt text keeps screen readers from reading it twice, the table roles keep the table for them). */
@media (max-width: 600px) {
	.lind-sse-table { overflow: visible; }
	.lind-sse-table table,
	.lind-sse-table tbody,
	.lind-sse-table tr,
	.lind-sse-table td { display: block; width: 100%; min-width: 0; }
	.lind-sse-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
	.lind-sse-table tr {
		margin: 0 0 12px; padding: 20px 20px 22px; background: #f5f5f5;
		clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
	}
	.lind-sse-table tr:last-child { margin-bottom: 0; }
	.lind-sse-table td { padding: 0; border: 0; font-size: 16px; }
	.lind-sse-table td:first-child { padding-right: 16px; font-family: "Raleway", sans-serif; font-size: 18px; line-height: 1.35; }
	.lind-sse-table td + td { margin-top: 14px; }
	.lind-sse-table td[data-label]:not(:first-child)::before {
		content: attr(data-label); content: attr(data-label) / "";
		display: block; margin-bottom: 2px; font-family: "Raleway", sans-serif; font-size: 12px; font-weight: 700;
		line-height: 1.4; letter-spacing: 0.04em; text-transform: uppercase; color: #666;
	}
}

.lind-sse-video .elementor-wrapper { clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }

/* Key points box. */
.lind-sse-keypoints { padding: 36px 40px; background: #e8f4fa; border-left: 4px solid #118cc9; }
.lind-sse-keypoints h2 { margin: 0 0 18px; font-size: 24px; line-height: 1.25; }
.lind-sse-keypoints ul { margin: 0; padding: 0; list-style: none; }
.lind-sse-keypoints li { display: flex; gap: 12px; margin: 0 0 12px; font-size: 17px; line-height: 1.6; }
.lind-sse-keypoints li:last-child { margin-bottom: 0; }
.lind-sse-keypoints li i { flex: none; margin-top: 3px; font-size: 20px; line-height: 1; color: #118cc9; }
@media (max-width: 767px) { .lind-sse-keypoints { padding: 28px 22px; } }

/* Previous / next guide. */
.lind-sse-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lind-sse-pager__link {
	display: flex; flex-direction: column; gap: 8px; padding: 24px 28px; background: #f5f5f5; color: #1f1f1f;
	border-bottom: 2px solid transparent; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.lind-sse-pager__link--next { text-align: right; align-items: flex-end; }
.lind-sse-pager__label {
	display: inline-flex; align-items: center; gap: 6px; font-family: "Raleway", sans-serif; font-size: 13px; font-weight: 700;
	letter-spacing: 0.04em; text-transform: uppercase; color: #118cc9; transition: color 0.2s ease;
}
.lind-sse-pager__title { font-family: "Raleway", sans-serif; font-size: 18px; font-weight: 700; line-height: 1.35; }
.lind-sse-pager__link:hover { background: #118cc9; color: #fff; }
.lind-sse-pager__link:hover .lind-sse-pager__label { color: #fff; }
@media (max-width: 767px) {
	.lind-sse-pager { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.lind-sse-pager__link--next { text-align: left; align-items: flex-start; }
}

/* ---------- Guides: side navigation (all guides by topic; the demo's "Our Services" card) ---------- */
.lind-sse-nav {
	padding: 32px 28px; background: #f7f7f7;
	clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}
.lind-sse-nav__title { margin: 0 0 6px; padding-right: 30px; font-family: "Raleway", sans-serif; font-size: 20px; font-weight: 700; line-height: 1.3; }
.lind-sse-nav__title a { color: #1f1f1f; }
.lind-sse-nav__title a:hover { color: #118cc9; }
.lind-sse-nav__topic { margin: 22px 0 10px; font-family: "Raleway", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #118cc9; }
.lind-sse-nav__list { margin: 0; padding: 0; list-style: none; }
.lind-sse-nav__list li { margin: 0 0 8px; }
.lind-sse-nav__list a {
	display: flex; gap: 12px; padding: 11px 14px; background: #fff; border: 1px solid rgba(2, 1, 1, 0.09); border-radius: 2px;
	font-family: "Raleway", sans-serif; font-size: 15px; font-weight: 600; line-height: 1.35; color: #1f1f1f;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.lind-sse-nav__num { flex: none; min-width: 20px; font-size: 13px; font-weight: 700; line-height: 20px; color: #118cc9; transition: color 0.2s ease; }
.lind-sse-nav__list a:hover,
.lind-sse-nav__list a.is-current { background: #118cc9; border-color: #118cc9; color: #fff; }
.lind-sse-nav__list a:hover .lind-sse-nav__num,
.lind-sse-nav__list a.is-current .lind-sse-nav__num { color: #fff; }

/* Tablets and phones: the side card (guide list) moves under the article, before the closing card, so the closing card
   stays the last thing on the page. The article column's own box steps aside (display: contents) and its parts join the
   row, which is already one column at these widths; the closing card goes last (order). Its top margin (90 / 70) comes
   from the build. */
@media (max-width: 1024px) {
	.lind-sse-main { display: contents; }
	.lind-sse-main > .lind-sse-cta { order: 1; }
}

/* Desktop: the side card stays in view while the article scrolls (below the sticky header); it scrolls on its own
   when the window is shorter than the card. */
@media (min-width: 1025px) {
	.lind-sse-side { align-self: stretch; }
	.lind-sse-sticky { position: sticky; top: 96px; }
	.admin-bar .lind-sse-sticky { top: 128px; }
	.lind-sse-sticky .lind-sse-nav { max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; }
	.admin-bar .lind-sse-sticky .lind-sse-nav { max-height: calc(100vh - 152px); }
}

/* Closing card: title and text beside the button. */
.lind-sse-cta .elementor-widget-rs-heading { max-width: 40rem; }

/* Card number: bottom right, level with the reading time, so the title has the card's full width. */
.lind-sse-card .rs-addon-services.style9 .services-inner .numbering { top: auto !important; bottom: 22px; line-height: 1; pointer-events: none; }
@media (max-width: 1366px) { .lind-sse-card .rs-addon-services.style9 .services-inner .numbering { bottom: 18px; } }

/* Article width (D-75): text, photos, the video and the key points box stay at the readable 40rem; only tables use the
   whole article column (the body widget opts out of the site rule with lind-measure-off and applies it here). */
.lind-sse-body :is(p, ul, ol, h2, h3, h4),
.lind-sse-figure,
.lind-sse-video,
.lind-sse-keypoints { max-width: 40rem; }
