/* Security Biz – Legal pages (SB Legal Hero + SB Legal Content) */

/* ================= HERO ================= */
.sb-lhero {
	--lh-grad: #0b3d1c;
	position: relative; overflow: hidden; isolation: isolate; box-sizing: border-box;
	background: #082a14; font-family: var(--sb-font); color: #fff;
}
.sb-lhero * { box-sizing: border-box; }
.sb-lhero :where(h1, h2, p) { margin: 0; padding: 0; font-family: var(--sb-font); }
.sb-lhero a { text-decoration: none; box-shadow: none; }
.sb-lhero__bg { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; }
.sb-lhero__shade {
	position: absolute; inset: 0; z-index: -2;
	background: linear-gradient(95deg, var(--lh-grad) 0%, rgba(8, 42, 20, .94) 32%, rgba(8, 42, 20, .55) 62%, rgba(8, 42, 20, .15) 100%);
}
.sb-lhero__slash { position: absolute; z-index: -1; pointer-events: none; top: -20%; height: 140%; transform: skewX(-24deg); transform-origin: top; }
.sb-lhero__slash--a { left: -3%; width: 90px; background: linear-gradient(180deg, rgba(63, 174, 73, .55), rgba(29, 107, 44, .1)); animation: sbLhSlide 1s var(--sb-card-ease, ease) both; }
.sb-lhero__slash--b { right: -4%; width: 160px; background: linear-gradient(180deg, rgba(29, 107, 44, .6), rgba(29, 107, 44, 0)); animation: sbLhSlide 1.2s var(--sb-card-ease, ease) .15s both; }
@keyframes sbLhSlide { from { opacity: 0; transform: skewX(-24deg) translateX(-40px); } to { opacity: 1; transform: skewX(-24deg); } }

.sb-lhero__wrap { max-width: 1400px; margin: 0 auto; padding: 30px 24px 44px; }
.sb-lhero__crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.sb-lhero__link { color: #fff; font-weight: 700; transition: color .25s var(--sb-ease); }
.sb-lhero__link:hover { color: var(--sb-green-light); }
.sb-lhero__cur { color: rgba(255, 255, 255, .9); font-weight: 500; }
.sb-lhero__sep { font-size: 9px; opacity: .7; display: inline-flex; }
.sb-lhero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 30px; margin-top: 26px; }
.sb-lhero__content::before { content: ""; display: block; width: 64px; height: 3px; border-radius: 3px; background: var(--sb-green-light); margin-bottom: 20px; transform-origin: left; animation: sbLhLine .9s var(--sb-card-ease, ease) .3s both; }
@keyframes sbLhLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sb-lhero__title { font-weight: 800; font-size: clamp(36px, 5vw, 62px); line-height: 1.05; letter-spacing: -.02em; color: #fff; }
.sb-lhero__title .sb-hl { color: var(--sb-green-light); }
.sb-lhero__text { margin-top: 18px; max-width: 52ch; font-size: clamp(15px, 1.25vw, 17.5px); line-height: 1.75; color: rgba(255, 255, 255, .92); }
.sb-lhero__media { display: flex; justify-content: flex-end; }
.sb-lhero__img { display: block; width: 100%; max-width: 440px; height: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45)); }
.sb-lhero__img.is-float { animation: sbLhFloat 6s ease-in-out infinite; }
@keyframes sbLhFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-1deg); } }

/* ================= CONTENT ================= */
.sb-lcon { overflow-x: clip; font-family: var(--sb-font); background: var(--sb-white); padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.sb-lcon * { box-sizing: border-box; }
.sb-lcon :where(h2, h3, h4, p, ul, dl, dd, dt) { margin: 0; padding: 0; font-family: var(--sb-font); }
.sb-lcon__wrap { max-width: 1400px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
.sb-lcon__wrap.has-side { grid-template-columns: minmax(0, 1fr) 380px; gap: 0; }
.sb-lcon__wrap.has-side .sb-lcon__main { padding-right: 36px; }

.sb-lcon__item { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 0; padding: 20px 0; border-bottom: 1px solid var(--sb-border); }
.sb-lcon__item:first-child { padding-top: 0; }
.sb-lcon__item:last-of-type { border-bottom: 0; }
.sb-lcon__num { position: relative; font-size: 34px; font-weight: 800; line-height: 1; color: rgba(63, 174, 73, .55); letter-spacing: -.01em; transition: color .35s var(--sb-ease), transform .45s var(--sb-card-ease, ease); }
.sb-lcon__num::after { content: ""; position: absolute; right: 18px; top: -2px; width: 2px; height: 46px; background: linear-gradient(180deg, var(--sb-green-light), rgba(63, 174, 73, .15)); border-radius: 2px; transition: height .45s var(--sb-card-ease, ease); }
.sb-lcon__item:hover .sb-lcon__num { color: var(--sb-green); transform: translateX(3px); }
.sb-lcon__item:hover .sb-lcon__num::after { height: calc(100% + 4px); }
.sb-lcon__num { padding-right: 38px; }
.sb-lcon__num::after { right: 20px; }
.sb-lcon__h { font-size: clamp(20px, 1.8vw, 24px); font-weight: 800; line-height: 1.2; color: var(--sb-heading); margin-bottom: 8px; transition: color .3s var(--sb-ease); }
.sb-lcon__item:hover .sb-lcon__h { color: var(--sb-green); }
.sb-lcon__body { font-size: 14.5px; line-height: 1.75; color: var(--sb-text); }
.sb-lcon__body p + p, .sb-lcon__body p + ul, .sb-lcon__body p + ol, .sb-lcon__body ul + p, .sb-lcon__body ol + p { margin-top: 10px; }
/* Editor lists (bullet or numbered) always show as a green checklist, only inside this widget's editor content. */
.sb-lcon__body :is(ul, ol) { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 9px; counter-reset: none; }
.sb-lcon__body :is(ul, ol) :is(ul, ol) { margin-top: 9px; padding-left: 4px; }
.sb-lcon__body li { position: relative; margin: 0; padding: 0 0 0 34px; min-height: 22px; list-style: none; font: inherit; color: inherit; }
.sb-lcon__body li::marker { content: ""; }
/* Checklist icon: brand-green circle + white tick (fixed size) */
.sb-lcon__body li::before {
	content: ""; position: absolute; left: 0; top: 3px; top: calc((1lh - 22px) / 2); width: 22px; height: 22px; border-radius: 50%;
	background: var(--sb-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	transition: background-color .25s var(--sb-ease), transform .25s var(--sb-ease);
}
.sb-lcon__body li:hover::before { background-color: var(--sb-green-dark); transform: scale(1.08); }
.sb-lcon__body :is(h3, h4) { font-size: 16.5px; font-weight: 700; line-height: 1.3; color: var(--sb-heading); margin: 16px 0 4px; }
.sb-lcon__body :is(h3, h4):first-child { margin-top: 0; }
.sb-lcon__body a { color: var(--sb-green); text-decoration: underline; text-underline-offset: 3px; }
.sb-lcon__body a:hover { color: var(--sb-orange); }
.sb-lcon__date { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--sb-border); font-size: 13.5px; font-weight: 600; color: var(--sb-text); }

/* ----- sidebar ----- */
.sb-lcon__side { padding-left: 36px; border-left: 1px solid var(--sb-border); align-self: stretch; }
.sb-lcon__side.is-sticky .sb-lcard { position: sticky; top: 110px; }
.sb-lcard { position: relative; overflow: hidden; border-radius: 24px; padding: 38px 28px 44px; background: linear-gradient(165deg, #f1f8f2 0%, #e8f3ea 100%); box-shadow: 0 18px 40px rgba(16, 32, 47, .06); }
.sb-lcard::before { content: ""; display: block; width: 62px; height: 3px; border-radius: 3px; background: var(--sb-green); margin-bottom: 22px; }
.sb-lcard__corner { position: absolute; right: -30px; bottom: -30px; width: 190px; height: 130px; pointer-events: none; background: linear-gradient(135deg, transparent 50%, var(--sb-green) 50%); opacity: .95; border-bottom-right-radius: 24px; clip-path: polygon(100% 0, 100% 100%, 0 100%); transition: transform .6s var(--sb-card-ease, ease); }
.sb-lcard:hover .sb-lcard__corner { transform: translate(-6px, -6px) scale(1.05); }
.sb-lcard__title { font-size: clamp(28px, 2.4vw, 36px); font-weight: 800; line-height: 1.1; color: var(--sb-heading); letter-spacing: -.01em; }
.sb-lcard__title .sb-hl { color: var(--sb-green); }
.sb-lcard__text { margin-top: 16px; font-size: 14.5px; line-height: 1.65; color: var(--sb-text); }
.sb-lcard__info { margin-top: 24px; display: grid; gap: 18px; position: relative; z-index: 1; }
.sb-lcard__row dt { font-size: 15.5px; font-weight: 800; color: var(--sb-green); margin-bottom: 3px; }
.sb-lcard__row dd { font-size: 15.5px; line-height: 1.5; color: var(--sb-heading); font-weight: 400; }
.sb-lcard__row dd a { color: inherit; text-decoration: none; transition: color .25s var(--sb-ease); }
.sb-lcard__row dd a:hover { color: var(--sb-orange); }
.sb-lcard__btn { position: relative; z-index: 1; display: flex; width: 100%; margin-top: 30px; padding: 17px 24px; font-size: 16px; border-radius: 10px; box-shadow: 0 10px 22px rgba(247, 147, 30, .28); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
	.sb-lcon__wrap.has-side { grid-template-columns: minmax(0, 1fr) 330px; }
	.sb-lcon__side { padding-left: 24px; }
	.sb-lcon__wrap.has-side .sb-lcon__main { padding-right: 24px; }
}
@media (max-width: 921px) {
	.sb-lhero__grid { grid-template-columns: 1fr; }
	.sb-lhero__media { justify-content: center; order: -1; }
	.sb-lhero__img { max-width: 280px; }
	.sb-lcon__wrap.has-side { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.sb-lcon__wrap.has-side .sb-lcon__main { padding-right: 0; }
	.sb-lcon__side { padding-left: 0; border-left: 0; }
	.sb-lcon__side.is-sticky .sb-lcard { position: relative; top: auto; }
}
@media (max-width: 600px) {
	.sb-lhero__wrap { padding: 22px 16px 34px; }
	.sb-lhero__slash--b { display: none; }
	.sb-lcon__wrap { padding: 0 16px; }
	.sb-lcon__item { grid-template-columns: 1fr; gap: 8px; }
	.sb-lcon__num { font-size: 26px; padding-right: 0; }
	.sb-lcon__num::after { display: none; }
	.sb-lcard { padding: 30px 22px 40px; }
}
@media (prefers-reduced-motion: reduce) {
	.sb-lhero__slash, .sb-lhero__content::before, .sb-lhero__img.is-float { animation: none !important; }
}

/* Pasted Elementor icon-list markup inside editor content: no Font Awesome icon, same brand checklist, tick top-aligned */
div.sb-rt ul.elementor-icon-list-items { list-style: none; margin: .6em 0 0; padding: 0; display: grid; gap: .7em; }
div.sb-rt li.elementor-icon-list-item { display: block; position: relative; margin: 0; padding: 0 0 0 36px; min-height: 22px; list-style: none; }
div.sb-rt li.elementor-icon-list-item > i,
div.sb-rt li.elementor-icon-list-item > .elementor-icon-list-icon { display: none; }
div.sb-rt li.elementor-icon-list-item::before { content: ""; display: block; position: absolute; left: 0; top: 3px; top: calc((1lh - 22px) / 2); width: 22px; height: 22px; border-radius: 50%; background: var(--sb-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M6 11.5l3.2 3.2L16 7.8' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; transition: background-color .25s var(--sb-ease), transform .25s var(--sb-ease); }
div.sb-rt li.elementor-icon-list-item:hover::before { background-color: var(--sb-green-dark); transform: scale(1.08); }
div.sb-rt li.elementor-icon-list-item .elementor-icon-list-text { display: block; padding: 0; margin: 0; color: inherit; font: inherit; line-height: inherit; }
