/* 
Theme V.1.5.0 
Designed by Live Design
https://livedesign.ro
*/

/*----------------------------- VARIABLES -----------------------------*/
:root 
{
/* COLORS */
--lvd-color-text:#404040;
--lvd-color-bg:#f5f5f7;

/* Primary colors */
--lvd-color-primary:#3958D4;
--lvd-color-primary-on:#ffffff;

--lvd-color-primary-light:#DADDF0;
--lvd-color-primary-light-on:#121212;

--lvd-color-primary-soft:#B3C2FF; 
--lvd-color-primary-soft-on:#1D3CB8;

--lvd-color-primary-dark:#071F85;
--lvd-color-primary-dark-on:#b3c1fa;

/* Secondary colors */
--lvd-color-secondary:#00d34f;
--lvd-color-secondary-on:#ffffff;

--lvd-color-secondary-light:#ddeaea;
--lvd-color-secondary-light-on:#00290F;

--lvd-color-secondary-soft:#51CF80;
--lvd-color-secondary-soft-on:#017f31;

--lvd-color-secondary-dark:#005E24;
--lvd-color-secondary-dark-on:#D5EDDE;

/* Tertiary colors */
--lvd-color-tertiary:#ba4600;
--lvd-color-tertiary-on:#ffffff;

/* Neutral colors */
--lvd-color-black:#0D0D0D;
--lvd-color-white:#FFFFFF;

--lvd-color-gray-100:#F9F9F9;
--lvd-color-gray-200:#E8E8EB;
--lvd-color-gray-300:#D9D9DB;
--lvd-color-gray-400:#737373;
--lvd-color-gray-500:#404040;

/* Info colors */
--lvd-color-success:#00C44F;
--lvd-color-success-100: #d4ebcf;
--lvd-color-error:#EC5252;
--lvd-color-warning:#FC6D43;
--lvd-color-info:#2268FD;

/* Semantic colors */
--lvd-cc-breadcrumbs-link:var(--lvd-color-primary);
--lvd-cc-surface:         var(--lvd-color-white);
--lvd-cc-section-title:   var(--lvd-color-black);
--lvd-cc-keyword:         var(--lvd-color-tertiary);
--lvd-cc-title:           var(--lvd-color-black);
--lvd-cc-text:            var(--lvd-color-text);
--lvd-cc-link:            var(--lvd-color-primary);
--lvd-cc-link-hover:      var(--lvd-color-black);
--lvd-cc-list-icon:       var(--lvd-color-primary);
--lvd-cc-list-icon-on:    var(--lvd-color-primary-on);
--lvd-cc-button-border:   var(--lvd-color-primary);
--lvd-cc-button-bg:       var(--lvd-color-primary);
--lvd-cc-button-text:     var(--lvd-color-white);
--lvd-cc-button-s-border: var(--lvd-color-secondary);
--lvd-cc-button-s-bg:     var(--lvd-color-secondary);
--lvd-cc-button-s-text:   var(--lvd-color-white);
--lvd-cc-button-o-border: var(--lvd-color-black);
--lvd-cc-button-o-text:   var(--lvd-color-black);
--lvd-cc-button-t-text:   var(--lvd-color-black);
--lvd-cc-badge-bg:        var(--lvd-color-tertiary);
--lvd-cc-badge-text:      var(--lvd-color-white);
--lvd-cc-button-nudge-text: var(--lvd-color-gray-400);
--lvd-cc-icon-primary:    var(--lvd-color-primary);
--lvd-cc-icon-secondary:  var(--lvd-color-secondary);
--lvd-cc-icon-tertiary:   var(--lvd-color-tertiary);
--lvd-cc-icon-chip-primary:   var(--lvd-color-primary-light);
--lvd-cc-icon-chip-secondary: var(--lvd-color-secondary-light);
--lvd-cc-positive:        var(--lvd-color-success);
--lvd-cc-negative:        var(--lvd-color-error);
--lvd-cc-card-border:     var(--lvd-color-primary);
--lvd-cc-tag-bg:          rgba(0, 0, 0, 0.05);
--lvd-cc-tag-text:        var(--lvd-color-tertiary);
--lvd-cc-tag-border:      var(--lvd-color-tertiary);
/* Translucent black, not a fixed grey: on white it reads as a real track, and on the
   tinted light surfaces (pl/ps/sl/ss) it becomes a shade of THAT colour instead of a
   grey patch pasted on top. */
--lvd-cc-tabs-bg:         rgba(0, 0, 0, 0.07);
--lvd-cc-tabs-border:     rgba(0, 0, 0, 0.12);
--lvd-cc-tab-text:        var(--lvd-color-text);
--lvd-cc-tab-text-active: var(--lvd-color-black);
--lvd-cc-tab-active-bg:   var(--lvd-color-white);
--lvd-cc-tab-indicator:   var(--lvd-color-primary);
/* Form fields (dropdowns, inputs) — translucent, so a field reads on every tint. The open
   list needs a SOLID background: on a transparent card the surface token is transparent. */
--lvd-cc-field-bg:        var(--lvd-color-white);
--lvd-cc-field-border:    rgba(0, 0, 0, 0.2);
--lvd-cc-field-hover:     rgba(0, 0, 0, 0.05);
--lvd-cc-field-menu-bg:   var(--lvd-color-white);
/* Rating stars. Bright gold on white is ~1.9:1, under the 3:1 a graphic needs, so light
   surfaces get the dark gold and coloured/dark surfaces derive it from their ink. */
--lvd-color-rating:       #F5B400;
--lvd-color-rating-dark:  #9A6700;
--lvd-cc-rating:          var(--lvd-color-rating-dark);

/* FONTS */
--lvd-primary-font:'Montserrat', sans-serif;
--lvd-secondary-font:'Roboto', sans-serif;

/* Font size */
--lvd-text-d1:72px;
--lvd-text-d2:64px;
--lvd-text-d3:56px;

--lvd-text-h1:48px;
--lvd-text-h2:40px;
--lvd-text-h3:32px;
--lvd-text-h4:24px;
--lvd-text-h5:20px;

--lvd-text-body:16px; 

--lvd-text-s1:14px;
--lvd-text-s2:11px;  

/* CONTAINERS */
--lvd-width-stopper:1800px;
--lvd-width-fullhd:1344px;
--lvd-width-widescreen:1152px;
--lvd-width-desktop:960px;
--lvd-width-tablet:640px;

/* Spacing */
--lvd-mb-txt:16px;
--lvd-gap:0px;
--lvd-line-height-base:1.4;
--lvd-cover-image-height:600px;

/* Shadow — neutral black elevation scale, 2px x-offset implies top-left light source */
--lvd-shadow-100: 2px 4px 12px rgba(0, 0, 0, 0.08);       /* card at rest */
--lvd-shadow-200: 2px 4px 16px rgba(0, 0, 0, 0.16);       /* hover / raised */
--lvd-shadow-300: 2px 8px 24px 2px rgba(0, 0, 0, 0.08);   /* large tiles, dropdowns, modals */
--lvd-shadow-400: 8px 8px 16px rgba(0, 0, 0, 0.08);       /* soft diagonal accent */
--lvd-shadow-button: 0px 2px 5px 0px rgba(54, 54, 54, 0.28);
--lvd-shadow-text: 0px 1px 3px rgba(0, 0, 0, 0.2);
/* Focus ring for form fields — a soft halo hugging the field's own radius.
   Derived from the primary with color-mix rather than a hardcoded rgba, so a
   per-project palette change carries into the ring automatically. */
--lvd-focus-ring: color-mix(in srgb, var(--lvd-color-primary) 28%, transparent);

/* Gradients */
--lvd-gradient-transparent: rgba(0, 0, 0, 0) linear-gradient(180deg, rgba(245, 245, 247, 0) 0%, rgba(245, 245, 247, 1) 100%) repeat scroll 0 0;
--lvd-gradient-white: rgba(0, 0, 0, 0) linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%) repeat scroll 0 0;
--lvd-gradient-light: rgba(0, 0, 0, 0) linear-gradient(180deg, rgba(232, 232, 235, 0) 0%, rgba(232, 232, 235, 1) 100%) repeat scroll 0 0;
--lvd-gradient-primary-light: rgba(0, 0, 0, 0) linear-gradient(180deg, rgba(218, 221, 240, 0) 0%, rgba(218, 221, 240, 1) 100%) repeat scroll 0 0;
--lvd-gradient-primary-dark: rgba(0, 0, 0, 0) linear-gradient(180deg, rgba(7, 31, 133, 0) 0%, rgba(7, 31, 133, 1) 100%) repeat scroll 0 0;
--lvd-gradient-secondary-light: rgba(0, 0, 0, 0) linear-gradient(180deg, rgba(221, 234, 234, 0) 0%, rgba(221, 234, 234, 1) 100%) repeat scroll 0 0;
--lvd-gradient-secondary-dark: rgba(0, 0, 0, 0) linear-gradient(180deg, rgba(0, 94, 36, 0) 0%, rgba(0, 94, 36, 1) 100%) repeat scroll 0 0;
--lvd-gradient-dark: rgba(0, 0, 0, 0) linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%) repeat scroll 0 0;
--lvd-gradient-accent: rgba(0, 0, 0, 0) linear-gradient(180deg, rgba(57, 88, 212, 0) 0%, rgba(57, 88, 212, 1) 100%) repeat scroll 0 0;

/* Transitions */
--lvd-transition: color .3s ease, background-color .3s ease, border-color .3s ease, opacity .3s ease;

/* Rounded corners */
--lvd-rounded:16px;
--lvd-rounded-top:16px 16px 0 0;
--lvd-rounded-right: 0 16px 16px 0;
--lvd-rounded-bottom: 0 0 16px 16px;
--lvd-rounded-left: 16px 0 0 16px;

--lvd-rounded-md:24px;
--lvd-rounded-lg:32px;
}

/*----------------------------- SKIP LINK -----------------------------*/
.lvd-skip-link          {position:absolute; top:-100%; left:0; z-index:9999; padding:12px 24px; background:var(--lvd-color-primary); color:var(--lvd-color-white); font-weight:700; text-decoration:none; border-radius:0 0 4px 0;}
.lvd-skip-link:focus    {top:0; color:var(--lvd-color-white);}

/*----------------------------- COMMON -----------------------------*/
body 	 	    {font-family: var(--lvd-primary-font); font-size:var(--lvd-text-body); font-weight:400; color:var(--lvd-color-text); background:var(--lvd-color-bg);}
a        	    {color:var(--lvd-color-primary); padding:0; margin:0; border:0; text-decoration:none;}
a:hover         {color:var(--lvd-cc-link-hover); text-decoration:none;}
p 		 	    {margin-bottom: var(--lvd-mb-txt); line-height: var(--lvd-line-height-base); margin-block-start: 0; margin-block-end: 0;}

/* Forms */
input 		    {-webkit-border-radius:0; border-radius:0;}
input[type=text], input[type=button], input[type=email], input[type=tel] 
                {-webkit-appearance: none;}
input[type=checkbox]
                {-webkit-appearance:checkbox !important;}
/* The resting shadow is held in a variable so the focus rule can append the ring
   to it instead of replacing it — a field must not lose its inset depth when
   focused. Fields without a resting shadow (the header search pill) fall back to
   a transparent one, which is valid inside a shadow list where `none` is not. */
input[type=text], input[type=tel], input[type=email], input[type=password], select
                {--lvd-field-shadow: inset 0 2px 5px -1px rgba(0,0,0,.1); height:48px; line-height:48px; border-radius:4px; color:var(--lvd-color-black); border:1px solid var(--lvd-color-black); display:inline-block; box-shadow: var(--lvd-field-shadow); transition: background ease-in-out .15s,border ease-in-out .25s,color ease-in-out .15s,box-shadow ease-in-out .15s;}
textarea        {--lvd-field-shadow: inset 0 2px 5px -1px rgba(0,0,0,.1); height:120px; line-height:1.5; border-radius:4px; color:var(--lvd-color-black); border:1px solid var(--lvd-color-black); display:inline-block; font-family: var(--lvd-primary-font); box-shadow: var(--lvd-field-shadow); transition: background ease-in-out .15s,border ease-in-out .25s,color ease-in-out .15s,box-shadow ease-in-out .15s;}

/* Focus — form fields opt out of the global `:focus-visible` outline (2px, offset
   3px) and take a soft ring that follows their own border-radius. On a pill-shaped
   input the detached outline read as a second, much thicker border.
   This is not a removal of the focus indicator: the ring plus the primary-coloured
   border is more visible than the outline was, and forced-colors mode below
   restores a real outline, since box-shadow is stripped there. */
input[type=text]:focus-visible,
input[type=tel]:focus-visible,
input[type=email]:focus-visible,
input[type=password]:focus-visible,
input[type=search]:focus-visible,
input[type=number]:focus-visible,
input[type=url]:focus-visible,
input[type=date]:focus-visible,
select:focus-visible,
textarea:focus-visible
                {outline: none; border-color: var(--lvd-color-primary); box-shadow: var(--lvd-field-shadow, 0 0 0 0 transparent), 0 0 0 3px var(--lvd-focus-ring);}

@media (forced-colors: active) {
input[type=text]:focus-visible,
input[type=tel]:focus-visible,
input[type=email]:focus-visible,
input[type=password]:focus-visible,
input[type=search]:focus-visible,
input[type=number]:focus-visible,
input[type=url]:focus-visible,
input[type=date]:focus-visible,
select:focus-visible,
textarea:focus-visible
                {outline: 2px solid Highlight; outline-offset: 1px;}
}

/* Rounded corners */
.lvd-rounded, .lvd-rounded img                {border-radius:var(--lvd-rounded);}
.lvd-rounded-top, .lvd-rounded-top img        {border-radius:var(--lvd-rounded-top);}
.lvd-rounded-right, .lvd-rounded-right img    {border-radius:var(--lvd-rounded-right);}
.lvd-rounded-bottom, .lvd-rounded-bottom img  {border-radius:var(--lvd-rounded-bottom);}
.lvd-rounded-left, .lvd-rounded-left img      {border-radius:var(--lvd-rounded-left);}
.lvd-rounded-md                               {border-radius:var(--lvd-rounded-md);}
.lvd-rounded-lg                               {border-radius:var(--lvd-rounded-lg);}

/* Box Shadow */
.lvd-box-shadow-100             {box-shadow: var(--lvd-shadow-100);}
.lvd-box-shadow-200             {box-shadow: var(--lvd-shadow-200);}
.lvd-box-shadow-300             {box-shadow: var(--lvd-shadow-300);}
.lvd-box-shadow-400             {box-shadow: var(--lvd-shadow-400);}

/* Card — semantic class + border modifier (ACF toggle: lvd-card-border) */
.lvd-card.lvd-card-border       {border:1px solid var(--lvd-cc-card-border);}

/* Card lift — opt-in hover elevation for interactive cards (shadow + slight scale) */
.lvd-card-lift                  {transition: box-shadow .3s cubic-bezier(0,0,.5,1), transform .3s cubic-bezier(0,0,.5,1);}
.lvd-card-lift:hover            {box-shadow: var(--lvd-shadow-200); transform: scale3d(1.01,1.01,1.01);}
@media (prefers-reduced-motion: reduce) {
.lvd-card-lift                  {transition: none;}
.lvd-card-lift:hover            {transform: none;}
}



/*----------------------------- COLORS -----------------------------*/
/* Body text color */
.lvd-color-text			        {color:var(--lvd-color-text);}

/* Brand colors */
.lvd-color-primary			    {color:var(--lvd-color-primary);}
.lvd-color-secondary 		    {color:var(--lvd-color-secondary);}
.lvd-color-tertiary 		    {color:var(--lvd-color-tertiary);}

/* Neutral colors */
.lvd-color-black                {color:var(--lvd-color-black);}
.lvd-color-white                {color:var(--lvd-color-white);}

.lvd-color-gray-100             {color:var(--lvd-color-gray-100);}
.lvd-color-gray-200             {color:var(--lvd-color-gray-200);}
.lvd-color-gray-300             {color:var(--lvd-color-gray-300);}
.lvd-color-gray-400             {color:var(--lvd-color-gray-400);}
.lvd-color-gray-500             {color:var(--lvd-color-gray-500);}

/* Info colors */
.lvd-color-success              {color:var(--lvd-color-success);}
.lvd-color-error                {color:var(--lvd-color-error);}
.lvd-color-warning              {color:var(--lvd-color-warning);}
.lvd-color-info                 {color:var(--lvd-color-info);}



/*----------------------------- TYPOGRAPHY -----------------------------*/
h1, h2, h3, h4, h5      {margin-bottom:var(--lvd-mb-txt); line-height:1.2;}
h1 	                    {font-size:var(--lvd-text-h1);}
h2 	                    {font-size:var(--lvd-text-h2);}
h3 	                    {font-size:var(--lvd-text-h3);}
h4 	                    {font-size:var(--lvd-text-h4);}
h5 	                    {font-size:var(--lvd-text-h5);}

.lvd-text-d1            {font-size:var(--lvd-text-d1);}
.lvd-text-d2            {font-size:var(--lvd-text-d2);}
.lvd-text-d3            {font-size:var(--lvd-text-d3);}

.lvd-text-h1            {font-size:var(--lvd-text-h1);}
.lvd-text-h2            {font-size:var(--lvd-text-h2);}
.lvd-text-h3            {font-size:var(--lvd-text-h3);}
.lvd-text-h4            {font-size:var(--lvd-text-h4);}
.lvd-text-h5            {font-size:var(--lvd-text-h5);}

.lvd-text-body          {font-size:var(--lvd-text-body);}

.lvd-text-s2            {font-size:var(--lvd-text-s2);}
.lvd-text-s1            {font-size:var(--lvd-text-s1);}

/* A rich-text block ends where its text ends.
   Without this, the box carries the trailing margin of whatever the editor typed last, so
   the space under a text column depends on it being a paragraph, a list or a heading — and
   any padding above it can never be matched below. Components used to declare this rule one
   by one; it belongs to the primitive. */
.lvd-content > :last-child,
.lvd-text > :last-child,
.lvd-text li:last-child {margin-bottom:0;}

/* The distance from the text to the buttons is then a rule, not a leftover margin.
   16px is the value six components had already settled on individually. Two selectors
   because the buttons sit inside the content wrapper in some components and directly
   beside the rich text in others (Card Text has no .lvd-content at all). */
.lvd-content .lvd-button-group,
.lvd-text + .lvd-button-group {margin-top:16px; margin-bottom:0;}

/* Same reason for the author byline: it used to inherit whatever the last paragraph left
   behind — 20px on desktop, 18px on mobile, neither of them a decision. */
.lvd-text + .lvd-author-byline {margin-top:16px;}


/*----------------------------- ANCHORS -----------------------------*/
/* The browser performs anchor jumps; CSS only tells it where to stop.
   Doing it in JS meant calling preventDefault, so the hash never reached the URL — an
   interrupted scroll had nothing to fall back on, back/forward did nothing, and the link
   could not be shared. */
html {scroll-behavior:smooth;}

@media (prefers-reduced-motion: reduce) {
    html {scroll-behavior:auto;}
}

/* Every target clears the fixed header, using the header's own live tokens rather than a
   fixed number. The full height is reserved even while the header is shrunk or hidden: a
   jump is a single moment, but the bar can come back right after it and would then cover
   what the visitor just asked to see. A static header scrolls away, so it needs no room. */
[id] {scroll-margin-top:16px;}

.lvd-header-sticky-fixed [id] {
    scroll-margin-top:calc(var(--lvd-topbar-h, 0px) + var(--lvd-header-h, 0px) + var(--lvd-announce-h, 0px) + 16px);
}


/*----------------------------- LAYOUT -----------------------------*/

/* Flex gap — sets the variable (for calc() in columns) and the gap property */
.lvd-flex-gap-none    {--lvd-gap: 0px;   gap: 0px;}
.lvd-flex-gap-xs      {--lvd-gap: 4px;   gap: 4px;}
.lvd-flex-gap-sm      {--lvd-gap: 8px;   gap: 8px;}
.lvd-flex-gap         {--lvd-gap: 12px;  gap: 12px;}
.lvd-flex-gap-md      {--lvd-gap: 20px;  gap: 20px;}
.lvd-flex-gap-lg      {--lvd-gap: 40px;  gap: 40px;}
.lvd-flex-gap-xl      {--lvd-gap: 60px;  gap: 60px;}
.lvd-flex-gap-2xl     {--lvd-gap: 80px;  gap: 80px;}
.lvd-flex-gap-3xl     {--lvd-gap: 100px; gap: 100px;}

/* Grid gap */
.lvd-grid-gap-none    {gap:0px;}
.lvd-grid-gap-2xs     {gap:8px;}
.lvd-grid-gap-xs      {gap:16px;}
.lvd-grid-gap-sm      {gap:24px;}
.lvd-grid-gap         {gap:32px;}
.lvd-grid-gap-md      {gap:40px;}
.lvd-grid-gap-lg      {gap:48px;}
.lvd-grid-gap-xl      {gap:56px;}
.lvd-grid-gap-2xl     {gap:64px;}
.lvd-grid-gap-3xl     {gap:72px;}

/* Padding */
.lvd-pxy-none        {padding:0;}
.lvd-pxy-xs          {padding:8px;}
.lvd-pxy-sm          {padding:16px;}
.lvd-pxy             {padding:32px;}
.lvd-pxy-md          {padding:48px;}
.lvd-pxy-lg          {padding:56px;}
.lvd-pxy-xl          {padding:72px;}

.lvd-px-xs           {padding:0 8px 0 8px;}
.lvd-px-sm           {padding:0 16px 0 16px;}
.lvd-px              {padding:0 32px 0 32px;}
.lvd-px-md           {padding:0 48px 0 48px;}
.lvd-px-lg           {padding:0 56px 0 56px;}
.lvd-px-xl           {padding:0 72px 0 72px;}

.lvd-py-xs           {padding:8px 0 8px 0;}
.lvd-py-sm           {padding:16px 0 16px 0;}
.lvd-py              {padding:32px 0 32px 0;}
.lvd-py-md           {padding:48px 0 48px 0;}
.lvd-py-lg           {padding:56px 0 56px 0;}
.lvd-py-xl           {padding:72px 0 72px 0;}

.lvd-pt-xs           {padding-top:8px;}
.lvd-pt-sm           {padding-top:16px;}
.lvd-pt              {padding-top:32px;}
.lvd-pt-md           {padding-top:48px;}
.lvd-pt-lg           {padding-top:56px;}
.lvd-pt-xl           {padding-top:72px;}

.lvd-pb-xs           {padding-bottom:8px;}
.lvd-pb-sm           {padding-bottom:16px;}
.lvd-pb              {padding-bottom:32px;}
.lvd-pb-md           {padding-bottom:48px;}
.lvd-pb-lg           {padding-bottom:56px;}
.lvd-pb-xl           {padding-bottom:72px;}

.lvd-pl-xs           {padding-left:8px;}
.lvd-pl-sm           {padding-left:16px;}
.lvd-pl              {padding-left:32px;}
.lvd-pl-md           {padding-left:48px;}
.lvd-pl-lg           {padding-left:56px;}
.lvd-pl-xl           {padding-left:72px;}

.lvd-pr-xs           {padding-right:8px;}
.lvd-pr-sm           {padding-right:16px;}
.lvd-pr              {padding-right:32px;}
.lvd-pr-md           {padding-right:48px;}
.lvd-pr-lg           {padding-right:56px;}
.lvd-pr-xl           {padding-right:72px;}

.lvd-px-lg-py        {padding:56px 32px} /*mixed*/

/* Margin
   Scale: xs 8 · sm 16 · (base) 24 · md 32 · lg 40 · xl 48 · big1 64 · big2 80 · big3 96
   big1–big3 = component/section spacing; reduse cu 16px pe mobil (vezi media query). */
.lvd-mxy-none        {margin:0;}
.lvd-mxy-xs          {margin:8px;}
.lvd-mxy-sm          {margin:16px;}
.lvd-mxy             {margin:24px;}
.lvd-mxy-md          {margin:32px;}
.lvd-mxy-lg          {margin:40px;}
.lvd-mxy-xl          {margin:48px;}
.lvd-mxy-big1        {margin:64px;}
.lvd-mxy-big2        {margin:80px;}
.lvd-mxy-big3        {margin:96px;}

.lvd-mx-none         {margin-left:0; margin-right:0;}
.lvd-mx-xs           {margin:0 8px 0 8px;}
.lvd-mx-sm           {margin:0 16px 0 16px;}
.lvd-mx              {margin:0 24px 0 24px;}
.lvd-mx-md           {margin:0 32px 0 32px;}
.lvd-mx-lg           {margin:0 40px 0 40px;}
.lvd-mx-xl           {margin:0 48px 0 48px;}
.lvd-mx-big1         {margin:0 64px 0 64px;}
.lvd-mx-big2         {margin:0 80px 0 80px;}
.lvd-mx-big3         {margin:0 96px 0 96px;}

.lvd-my-none         {margin-top:0; margin-bottom:0;}
.lvd-my-xs           {margin:8px 0 8px 0;}
.lvd-my-sm           {margin:16px 0 16px 0;}
.lvd-my              {margin:24px 0 24px 0;}
.lvd-my-md           {margin:32px 0 32px 0;}
.lvd-my-lg           {margin:40px 0 40px 0;}
.lvd-my-xl           {margin:48px 0 48px 0;}
.lvd-my-big1         {margin:64px 0 64px 0;}
.lvd-my-big2         {margin:80px 0 80px 0;}
.lvd-my-big3         {margin:96px 0 96px 0;}

.lvd-mt-none         {margin-top:0;}
.lvd-mt-xs           {margin-top:8px;}
.lvd-mt-sm           {margin-top:16px;}
.lvd-mt              {margin-top:24px;}
.lvd-mt-md           {margin-top:32px;}
.lvd-mt-lg           {margin-top:40px;}
.lvd-mt-xl           {margin-top:48px;}
.lvd-mt-big1         {margin-top:64px;}
.lvd-mt-big2         {margin-top:80px;}
.lvd-mt-big3         {margin-top:96px;}

.lvd-mb-none         {margin-bottom:0;}
.lvd-mb-xs           {margin-bottom:8px;}
.lvd-mb-sm           {margin-bottom:16px;}
.lvd-mb              {margin-bottom:24px;}
.lvd-mb-md           {margin-bottom:32px;}
.lvd-mb-lg           {margin-bottom:40px;}
.lvd-mb-xl           {margin-bottom:48px;}
.lvd-mb-big1         {margin-bottom:64px;}
.lvd-mb-big2         {margin-bottom:80px;}
.lvd-mb-big3         {margin-bottom:96px;}

.lvd-ml-none         {margin-left:0;}
.lvd-ml-xs           {margin-left:8px;}
.lvd-ml-sm           {margin-left:16px;}
.lvd-ml              {margin-left:24px;}
.lvd-ml-md           {margin-left:32px;}
.lvd-ml-lg           {margin-left:40px;}
.lvd-ml-xl           {margin-left:48px;}
.lvd-ml-big1         {margin-left:64px;}
.lvd-ml-big2         {margin-left:80px;}
.lvd-ml-big3         {margin-left:96px;}

.lvd-mr-none         {margin-right:0;}
.lvd-mr-xs           {margin-right:8px;}
.lvd-mr-sm           {margin-right:16px;}
.lvd-mr              {margin-right:24px;}
.lvd-mr-md           {margin-right:32px;}
.lvd-mr-lg           {margin-right:40px;}
.lvd-mr-xl           {margin-right:48px;}
.lvd-mr-big1         {margin-right:64px;}
.lvd-mr-big2         {margin-right:80px;}
.lvd-mr-big3         {margin-right:96px;}


/* Spacer */
.lvd-spacer-2xs       {height:8px;}
.lvd-spacer-xs        {height:16px;}
.lvd-spacer-sm        {height:24px;}
.lvd-spacer           {height:32px;}
.lvd-spacer-md        {height:40px;}
.lvd-spacer-lg        {height:48px;}
.lvd-spacer-xl        {height:56px;}
.lvd-spacer-2xl       {height:64px;}
.lvd-spacer-3xl       {height:72px;}



/*----------------------------- TABLE -----------------------------*/
.lvd-table                      {margin-right:auto !important; margin-left:auto !important; border-collapse: collapse;  width:100%; empty-cells: show;}
.lvd-table td, .lvd-table th    {padding:10px 20px; border:1px solid var(--lvd-color-gray-300); }
.lvd-table th                   {color:var(--lvd-color-black); background:var(--lvd-color-gray-100); font-weight:700; text-align: left;}
.lvd-table table                {border-collapse: collapse;  width:100%; empty-cells: show;}



/*----------------------------- BUTTONS -----------------------------*/
.lvd-button-group                      {display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-start;}
.lvd-button-group.lvd-text-center      {justify-content: center;}
.lvd-button-group.lvd-text-right       {justify-content: flex-end;}
.lvd-button                            {display: flex; flex-direction: column; align-items: flex-start; gap: 4px;}
.lvd-button-group.lvd-text-center .lvd-button {align-items: center;}
.lvd-button-group.lvd-text-right  .lvd-button {align-items: flex-end;}
.lvd-button-nudge                      {color: var(--lvd-cc-button-nudge-text); width: 0; min-width: 100%; overflow-wrap: break-word; font-size: var(--lvd-text-s2); padding: 4px 0 0 4px;}

.lvd-button-primary,
.lvd-button-primary-small,
.lvd-button-secondary,
.lvd-button-secondary-small,
.lvd-button-outlined,
.lvd-button-outlined-small,
.lvd-button-text,
.lvd-button-text-small                 {transition: opacity 0.3s ease;}

/* Same styles on <button> (modal triggers): undo the UA font, alignment, cursor and border.
   Sits before the variants and at (0,1,0), so their font-size/weight and any site override still win */
:where(button):is(.lvd-button-primary, .lvd-button-primary-small, .lvd-button-secondary, .lvd-button-secondary-small,
    .lvd-button-outlined, .lvd-button-outlined-small, .lvd-button-text, .lvd-button-text-small,
    .lvd-button-text-arrow, .lvd-button-text-arrow-small, .lvd-button-text-chevron, .lvd-button-text-chevron-small) {font:inherit; text-align:inherit; cursor:pointer;}
:where(button):is(.lvd-button-text, .lvd-button-text-small, .lvd-button-text-arrow, .lvd-button-text-arrow-small,
    .lvd-button-text-chevron, .lvd-button-text-chevron-small) {border:0;}

.lvd-button-primary                    {background:var(--lvd-cc-button-bg); color:var(--lvd-cc-button-text); border:1px solid var(--lvd-cc-button-border); display:inline-block; height:48px; line-height:46px; font-weight:700; font-size:var(--lvd-text-body); padding:0 24px; border-radius:25px; box-shadow:var(--lvd-shadow-button);}
.lvd-button-primary:hover              {color:var(--lvd-cc-button-text); opacity:0.7;}

.lvd-button-primary-small              {background:var(--lvd-cc-button-bg); color:var(--lvd-cc-button-text); border:1px solid var(--lvd-cc-button-border); display:inline-block; height:32px; line-height:30px; font-weight:700; font-size:var(--lvd-text-s1); padding:0 16px; border-radius:16px; box-shadow:var(--lvd-shadow-button);}
.lvd-button-primary-small:hover        {color:var(--lvd-cc-button-text); opacity:0.7;}

.lvd-button-secondary                  {background: var(--lvd-cc-button-s-bg); color:var(--lvd-cc-button-s-text); border:1px solid var(--lvd-cc-button-s-border); display:inline-block; height:48px; line-height:46px; font-weight:700; font-size:var(--lvd-text-body); padding:0 24px; border-radius:25px; box-shadow:var(--lvd-shadow-button);}
.lvd-button-secondary:hover            {color:var(--lvd-cc-button-s-text); opacity:0.7;}

.lvd-button-secondary-small            {background: var(--lvd-cc-button-s-bg); color:var(--lvd-cc-button-s-text); border:1px solid var(--lvd-cc-button-s-border); display:inline-block; height:32px; line-height:30px; font-weight:700; font-size:var(--lvd-text-s1); padding:0 16px; border-radius:16px; box-shadow:var(--lvd-shadow-button);}
.lvd-button-secondary-small:hover      {color:var(--lvd-cc-button-s-text); opacity:0.7;}

.lvd-button-outlined                   {border:1px solid var(--lvd-cc-button-o-border); background:transparent; color:var(--lvd-cc-button-o-text); display:inline-block; height:48px; line-height:46px; font-weight:700; font-size:var(--lvd-text-body); padding:0 24px; border-radius:25px;}
.lvd-button-outlined:hover             {color:var(--lvd-cc-button-o-text); opacity:0.7;}

.lvd-button-outlined-small             {border:1px solid var(--lvd-cc-button-o-border); background:transparent; color:var(--lvd-cc-button-o-text);  display:inline-block; height:32px; line-height:30px; font-weight:700; font-size:var(--lvd-text-s1); padding:0 16px; border-radius:16px;}
.lvd-button-outlined-small:hover       {color:var(--lvd-cc-button-o-text); opacity:0.7;}

.lvd-button-text                       {background:transparent; color:var(--lvd-cc-button-t-text); display:inline-block; height:48px; line-height:48px; font-weight:700; font-size:var(--lvd-text-body); padding:0; border-radius:25px;}
.lvd-button-text:hover                 {color:var(--lvd-cc-button-t-text); opacity:0.7;}

.lvd-button-text-small                 {background:transparent; color:var(--lvd-cc-button-t-text);  display:inline-block; height:32px; line-height:32px; font-weight:700; font-size:var(--lvd-text-s1); padding:0; border-radius:16px;}
.lvd-button-text-small:hover           {color:var(--lvd-cc-button-t-text); opacity:0.7;}

.lvd-button-expander                   {margin-right:16px;}
.lvd-button-group-self                 {position: relative;}

.lvd-button-text-arrow                 {background: transparent; color: var(--lvd-cc-button-t-text); display: inline-flex; align-items: center; gap: 4px; height: 48px; padding: 0; font-weight:700; text-decoration: none; transition: color 0.3s ease, opacity 0.3s ease;}
.lvd-button-text-arrow::after          {content: ""; display: block; width: 24px; height: 24px; background-color: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; -webkit-mask-image: url('../assets/svg/bs-icons/arrow-right-short.svg'); mask-image: url('../assets/svg/bs-icons/arrow-right-short.svg'); transition: transform 0.3s ease, -webkit-mask-image 0.3s ease, mask-image 0.3s ease;}
.lvd-button-text-arrow:hover           {color: var(--lvd-cc-button-t-text); opacity: 0.7;}
.lvd-button-text-arrow:hover::after    {transform: translateX(5px); -webkit-mask-image: url('../assets/svg/bs-icons/arrow-right.svg'); mask-image: url('../assets/svg/bs-icons/arrow-right.svg');}

.lvd-button-text-arrow-small           {background: transparent; color: var(--lvd-cc-button-t-text); display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0; font-weight:700; font-size:var(--lvd-text-s1); text-decoration: none; transition: color 0.3s ease, opacity 0.3s ease;}
.lvd-button-text-arrow-small::after    {content: ""; display: block; width: 20px; height: 20px; background-color: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; -webkit-mask-image: url('../assets/svg/bs-icons/arrow-right-short.svg'); mask-image: url('../assets/svg/bs-icons/arrow-right-short.svg'); transition: transform 0.3s ease, -webkit-mask-image 0.3s ease, mask-image 0.3s ease;}
.lvd-button-text-arrow-small:hover     {color: var(--lvd-cc-button-t-text); opacity: 0.7;}
.lvd-button-text-arrow-small:hover::after    {transform: translateX(5px); -webkit-mask-image: url('../assets/svg/bs-icons/arrow-right.svg'); mask-image: url('../assets/svg/bs-icons/arrow-right.svg');}

.lvd-button-text-chevron               {background: transparent; color: var(--lvd-cc-button-t-text); display: inline-flex; align-items: center; gap: 4px; height: 48px; padding: 0; font-weight:700; text-decoration: none; transition: color 0.3s ease, opacity 0.3s ease;}
.lvd-button-text-chevron::after        {content: ""; display: block; width: 18px; height: 18px; background-color: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; -webkit-mask-image: url('../assets/svg/bs-icons/chevron-right.svg'); mask-image: url('../assets/svg/bs-icons/chevron-right.svg'); transition: transform 0.3s ease, -webkit-mask-image 0.3s ease, mask-image 0.3s ease;}
.lvd-button-text-chevron:hover         {color: var(--lvd-cc-button-t-text); opacity: 0.7;}
.lvd-button-text-chevron:hover::after  {transform: translateX(5px); -webkit-mask-image: url('../assets/svg/bs-icons/chevron-compact-right.svg'); mask-image: url('../assets/svg/bs-icons/chevron-compact-right.svg');}

.lvd-button-text-chevron-small         {background: transparent; color: var(--lvd-cc-button-t-text); display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0; font-weight:700; font-size:var(--lvd-text-s1); text-decoration: none; transition: color 0.3s ease, opacity 0.3s ease;}
.lvd-button-text-chevron-small::after  {content: ""; display: block; width: 16px; height: 16px; background-color: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; -webkit-mask-image: url('../assets/svg/bs-icons/chevron-right.svg'); mask-image: url('../assets/svg/bs-icons/chevron-right.svg'); transition: transform 0.3s ease, -webkit-mask-image 0.3s ease, mask-image 0.3s ease;}
.lvd-button-text-chevron-small:hover   {color: var(--lvd-cc-button-t-text); opacity: 0.7;}
.lvd-button-text-chevron-small:hover::after {transform: translateX(5px); -webkit-mask-image: url('../assets/svg/bs-icons/chevron-compact-right.svg'); mask-image: url('../assets/svg/bs-icons/chevron-compact-right.svg');}

/* Media glass — the one look for controls laid over photos (Play, carousel arrows): dense
   white glass, thin white edge, dark glyph, no shadow. Reads on bright and dark photos alike
   (glyph ≥ 7:1 over pure white and pure black); a white glyph on light glass vanished on
   bright photos. */
:root                     {--lvd-glass-bg:rgba(255,255,255,0.78); --lvd-glass-bg-hover:rgba(255,255,255,0.96); --lvd-glass-bg-active:rgba(255,255,255,0.66);
                           --lvd-glass-ink:rgba(0,0,0,0.72); --lvd-glass-ink-hover:rgba(0,0,0,0.88);
                           --lvd-glass-edge:rgba(255,255,255,0.9); --lvd-glass-blur:blur(20px) saturate(180%);}

/*Play Button*/
.lvd-play-button          {width:48px; height:48px; border-radius:50%; background:var(--lvd-glass-bg); backdrop-filter:var(--lvd-glass-blur); -webkit-backdrop-filter:var(--lvd-glass-blur); border:1px solid var(--lvd-glass-edge); position:absolute; top: calc(50% - 8px); left:50%; transform:translate(-50%, -50%) translateZ(0); display:flex; justify-content:center; align-items:center; transition:transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s ease; cursor:pointer; will-change:transform;}
.lvd-icon-play            {display:block; width:32px; height:32px; margin-left:4px; background-color:var(--lvd-color-white); -webkit-mask-image:url('../assets/svg/bs-icons/play-fill.svg'); mask-image:url('../assets/svg/bs-icons/play-fill.svg'); -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-size:contain; mask-size:contain; -webkit-mask-position:center; mask-position:center; transition:background-color 0.3s ease;} /* white: Video Card BG's own pill uses it outside .lvd-play-button */
.lvd-play-button .lvd-icon-play         {background-color:var(--lvd-glass-ink);}
/* Play button — inline SVG icon variant (lvd_display_icon) */
.lvd-play-button svg            {width:42%; height:42%; margin-left:7%; fill:var(--lvd-glass-ink); transition:fill 0.3s ease;} /* glyph scales with the disc: 16px on the 40px corner disc, like the media nav (the % is of the content box, inside the 1px edge); the nudge centres the triangle optically */
@media (hover:hover) { /* a tap on touch would leave these stuck */
.lvd-play-button:hover    {transform:translate(-50%, -50%) scale(1.1) translateZ(0); background:var(--lvd-glass-bg-hover);}
.lvd-play-button:hover .lvd-icon-play   {background-color:var(--lvd-glass-ink-hover);}
.lvd-play-button:hover svg      {fill:var(--lvd-glass-ink-hover);}
}
/* Play Video CTA */
.lvd-video-cta            {position:absolute; top:calc(50% + 30px); left:0; right:0; display:flex; flex-direction:row; justify-content:center; align-items:center; pointer-events:none;}
.lvd-video-cta span       {background:rgba(0,0,0,0.6); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); color:var(--lvd-color-white); border:0; border-radius:20px; padding:6px 16px; font-weight:600; font-size:var(--lvd-text-s1); letter-spacing:0.5px; transition:opacity 0.3s ease;}
.lvd-play-button:hover + .lvd-video-cta span {opacity:0.8;}

/* Video cover (modal trigger) — reusable primitive for ANY component with .lvd-img.
   The image wrapper gets `lvd-mv-trigger` (only when a video is set) → becomes clickable and
   a positioning context. The `.lvd-video-actions` cluster (play + CTA) sits bottom-right over
   the image and RE-positions the global base `.lvd-play-button`/`.lvd-video-cta` (centered)
   to static, inline. Markup via PartialRenderer::lvd_videoCover(). */
.lvd-mv-trigger                            {position:relative; cursor:pointer;}
/* Global ring geometry, surface-aware color: --lvd-color-primary vanishes on a -pd card. */
.lvd-mv-trigger[role="button"]:focus-visible {outline-color:var(--lvd-cc-close, var(--lvd-color-black));}
.lvd-video-actions                         {position:absolute; bottom:16px; right:16px; z-index:2; display:flex; align-items:center; gap:12px;}
.lvd-video-actions .lvd-video-cta          {position:static; pointer-events:none;}
.lvd-video-actions .lvd-play-button        {position:static; top:auto; left:auto; transform:none; width:40px; height:40px;} /* corner Play = media nav size */
.lvd-video-actions .lvd-play-button:hover  {transform:scale(1.08);}

/* Centered over the image (optional, via select) — restores the global base (large centered
   play + CTA below). The wrapper becomes `position:static`, so play/CTA (absolute) position
   against `.lvd-mv-trigger` (the image) → center. This way it ignores any per-component
   bottom/right offset set on `.lvd-video-actions`. */
.lvd-video-actions-center                          {position:static;}
.lvd-video-actions-center .lvd-play-button         {position:absolute; top:calc(50% - 8px); left:50%; transform:translate(-50%, -50%) translateZ(0); width:48px; height:48px;}
.lvd-video-actions-center .lvd-play-button:hover   {transform:translate(-50%, -50%) scale(1.1) translateZ(0);}
.lvd-video-actions-center .lvd-video-cta           {position:absolute; top:calc(50% + 30px); left:0; right:0;}

/* Media nav — carousel controls laid over an image (prev / next / autoplay pause), in the
   media glass above. Tuned through --lvd-media-nav-*.
   The component positions `.lvd-media-nav`. Icons are inline 24-grid SVGs
   (`.lvd-media-nav-icon`: stroked chevrons; `-fill`: pause / play), so every glyph shares one
   optical size. The pause button carries the autoplay ring on its border: the component sets
   --lvd-media-nav-progress (remaining share, 1 → 0). */
.lvd-media-nav                             {display:flex; align-items:center; gap:8px;
    --lvd-media-nav-bg:var(--lvd-glass-bg); --lvd-media-nav-bg-hover:var(--lvd-glass-bg-hover); --lvd-media-nav-bg-active:var(--lvd-glass-bg-active);
    --lvd-media-nav-color:var(--lvd-glass-ink); --lvd-media-nav-color-hover:var(--lvd-glass-ink-hover);
    --lvd-media-nav-edge:var(--lvd-glass-edge); --lvd-media-nav-blur:var(--lvd-glass-blur);}
.lvd-media-nav-button                      {position:relative; display:flex; justify-content:center; align-items:center; flex:none; width:40px; height:40px; padding:0; margin:0; border:1px solid var(--lvd-media-nav-edge); border-radius:50%; background:var(--lvd-media-nav-bg); -webkit-backdrop-filter:var(--lvd-media-nav-blur); backdrop-filter:var(--lvd-media-nav-blur); color:var(--lvd-media-nav-color); cursor:pointer; transition:background-color 0.3s ease, color 0.3s ease;}
.lvd-media-nav-button[hidden]              {display:none;}
.lvd-media-nav-button .lvd-media-nav-icon  {display:block; width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.lvd-media-nav-button .lvd-media-nav-icon-fill {fill:currentColor; stroke:none;}
.lvd-media-nav-button:focus-visible        {background:var(--lvd-media-nav-bg-hover); color:var(--lvd-media-nav-color-hover); outline:2px solid var(--lvd-color-primary); outline-offset:3px;}
.lvd-media-nav-pause .lvd-media-nav-icon-play,
.lvd-media-nav-pause.lvd-is-paused .lvd-media-nav-icon-pause {display:none;}
.lvd-media-nav-pause.lvd-is-paused .lvd-media-nav-icon-play  {display:block;}
/* The ring covers the border box: inset -1px escapes the 1px edge, r = 19 of 40 puts the 2px
   stroke on the button's outer edge */
.lvd-media-nav-button .lvd-media-nav-ring  {position:absolute; inset:-1px; width:calc(100% + 2px); height:calc(100% + 2px); transform:rotate(-90deg); fill:none; stroke-width:2; pointer-events:none;}
.lvd-media-nav-ring-track                  {stroke:currentColor; opacity:0.25;}
.lvd-media-nav-ring-bar                    {stroke:currentColor; stroke-linecap:round; stroke-dasharray:119.38; stroke-dashoffset:calc(119.38 * var(--lvd-media-nav-progress, 1));} /* 2πr, r = 19 */
@media (hover:hover) {
.lvd-media-nav-button:hover                {background:var(--lvd-media-nav-bg-hover); color:var(--lvd-media-nav-color-hover);}
}
.lvd-media-nav-button:active               {background:var(--lvd-media-nav-bg-active);} /* after :hover, which would win the tie while pressed */
@media (prefers-reduced-motion: reduce) {
.lvd-media-nav-button                      {transition:none;}
}

/* Cover scrim — readability fade behind text laid over a photo, tinted from the ink it sits on
   (--lvd-cc-surface): dark → black fade, white → white fade, accent → brand fade. Goes on the
   element carrying lvd-place-* / bm-lvd-place-*: the vertical place picks the direction.
   Intensity: lvd-scrim-soft | default | lvd-scrim-strong | lvd-scrim-none. */
.lvd-cover-scrim                    {--lvd-scrim-strong-mix:82%; --lvd-scrim-soft-mix:30%;
    --lvd-cover-scrim-strong: color-mix(in srgb, var(--lvd-cc-surface) var(--lvd-scrim-strong-mix), transparent);
    --lvd-cover-scrim-soft:   color-mix(in srgb, var(--lvd-cc-surface) var(--lvd-scrim-soft-mix), transparent);
    background:linear-gradient(to top, var(--lvd-cover-scrim-strong) 0%, var(--lvd-cover-scrim-soft) 45%, transparent 75%);}
.lvd-cover-scrim.lvd-scrim-soft     {--lvd-scrim-strong-mix:60%; --lvd-scrim-soft-mix:15%;}
.lvd-cover-scrim.lvd-scrim-strong   {--lvd-scrim-strong-mix:92%; --lvd-scrim-soft-mix:50%;}
.lvd-cover-scrim.lvd-scrim-none     {--lvd-scrim-strong-mix:0%;  --lvd-scrim-soft-mix:0%;}
.lvd-cover-scrim:is(.lvd-place-lt, .lvd-place-ct, .lvd-place-rt) {background:linear-gradient(to bottom, var(--lvd-cover-scrim-strong) 0%, var(--lvd-cover-scrim-soft) 45%, transparent 75%);}
.lvd-cover-scrim:is(.lvd-place-lc, .lvd-place-cc, .lvd-place-rc) {background:var(--lvd-cover-scrim-soft);}
@media (max-width:767px) {
.lvd-cover-scrim:is(.bm-lvd-place-lb, .bm-lvd-place-cb, .bm-lvd-place-rb) {background:linear-gradient(to top, var(--lvd-cover-scrim-strong) 0%, var(--lvd-cover-scrim-soft) 45%, transparent 75%);}
.lvd-cover-scrim:is(.bm-lvd-place-lt, .bm-lvd-place-ct, .bm-lvd-place-rt) {background:linear-gradient(to bottom, var(--lvd-cover-scrim-strong) 0%, var(--lvd-cover-scrim-soft) 45%, transparent 75%);}
.lvd-cover-scrim:is(.bm-lvd-place-lc, .bm-lvd-place-cc, .bm-lvd-place-rc) {background:var(--lvd-cover-scrim-soft);}
}
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
.lvd-cover-scrim                    {--lvd-cover-scrim-strong:rgba(0,0,0,.6); --lvd-cover-scrim-soft:rgba(0,0,0,.15);}
.lvd-cover-scrim.lvd-scrim-none     {--lvd-cover-scrim-strong:transparent; --lvd-cover-scrim-soft:transparent;}
}

/* Video background controls */
.lvd-video-controls              {position: absolute; bottom: 24px; right: 24px; z-index: 10; display: flex; gap: 8px;}
.lvd-control-btn                 {background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.3); color:var(--lvd-color-white); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.3s ease;}
.lvd-control-btn:hover           {background: rgba(0, 0, 0, 0.8);}
.lvd-icon-control-play, 
.lvd-icon-control-pause, 
.lvd-icon-control-volume-on, 
.lvd-icon-control-volume-off     {display: block; width: 32px; height: 32px; background-color: var(--lvd-color-white); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; opacity:0.5; transition:opacity 0.3s ease;}
.lvd-icon-control-play           {margin-left: 4px; -webkit-mask-image: url('../assets/svg/bs-icons/play-fill.svg'); mask-image: url('../assets/svg/bs-icons/play-fill.svg');}
.lvd-icon-control-pause          {margin-left: 0; -webkit-mask-image: url('../assets/svg/bs-icons/pause-fill.svg'); mask-image: url('../assets/svg/bs-icons/pause-fill.svg');}
.lvd-icon-control-volume-on      {margin-left: 0; -webkit-mask-image: url('../assets/svg/bs-icons/volume-up-fill.svg'); mask-image: url('../assets/svg/bs-icons/volume-up-fill.svg');}
.lvd-icon-control-volume-off     {margin-left: 0; -webkit-mask-image: url('../assets/svg/bs-icons/volume-mute-fill.svg'); mask-image: url('../assets/svg/bs-icons/volume-mute-fill.svg');}
.lvd-control-btn:hover .lvd-icon-control-play, 
.lvd-control-btn:hover .lvd-icon-control-pause, 
.lvd-control-btn:hover .lvd-icon-control-volume-on, 
.lvd-control-btn:hover .lvd-icon-control-volume-off {background-color: var(--lvd-color-white); opacity:0.8;}

/*----------------------------- APPEARENCE -----------------------------*/
/* Generic elements: keyword, title, text, text a, img, icon, button-primary, button-primary-small, button-outlined, button-small, button-text, button-text-small, li::before */

/* Theming engine — paint a surface and cascade its palette to descendants.
   Combine one of these with a `lvd-style-*` variant (e.g. lvd-style-white, lvd-style-accent,
   lvd-style-dark). The variant redefines the element's --lvd-cc-* tokens, so the keyword,
   title, text and buttons inside inherit the themed colors automatically.

   `.lvd-style-apply` and `.lvd-style-surface-apply` are functionally identical (aliases).
   Convention: use `lvd-style-surface-apply` on a component's main surface/card container;
   use `lvd-style-apply` on repeated items (e.g. cards inside a grid/list). One per element —
   never both. */
.lvd-style-apply          {background:var(--lvd-cc-surface); color:var(--lvd-cc-text);}
.lvd-style-surface-apply  {background:var(--lvd-cc-surface); color:var(--lvd-cc-text);}

/* Base reset for EVERY appearance. Custom properties inherit, so any token an
   appearance leaves out would come from its parent: a pl card in a dark section
   got white tags and links on a pale surface. Every appearance starts from the
   base (light) set here; the per-variant blocks below override only what differs,
   and win on source order at equal specificity. Surface is set per-variant. */
:is(.lvd-style-apply, .lvd-style-surface-apply):is(.lvd-style-transparent, .lvd-style-white, .lvd-style-light, .lvd-style-pl, .lvd-style-ps, .lvd-style-pd, .lvd-style-sl, .lvd-style-ss, .lvd-style-sd, .lvd-style-accent, .lvd-style-dark) {
--lvd-cc-breadcrumbs-link:var(--lvd-color-primary);
--lvd-cc-section-title:   var(--lvd-color-black);
--lvd-cc-keyword:         var(--lvd-color-tertiary);
--lvd-cc-title:           var(--lvd-color-black);
--lvd-cc-text:            var(--lvd-color-text);
--lvd-cc-link:            var(--lvd-color-primary);
--lvd-cc-link-hover:      var(--lvd-color-black);
--lvd-cc-list-icon:       var(--lvd-color-primary);
--lvd-cc-list-icon-on:    var(--lvd-color-primary-on);
--lvd-cc-button-border:   var(--lvd-color-primary);
--lvd-cc-button-bg:       var(--lvd-color-primary);
--lvd-cc-button-text:     var(--lvd-color-white);
--lvd-cc-button-s-border: var(--lvd-color-secondary);
--lvd-cc-button-s-bg:     var(--lvd-color-secondary);
--lvd-cc-button-s-text:   var(--lvd-color-white);
--lvd-cc-button-o-border: var(--lvd-color-black);
--lvd-cc-button-o-text:   var(--lvd-color-black);
--lvd-cc-button-t-text:   var(--lvd-color-black);
--lvd-cc-badge-bg:        var(--lvd-color-tertiary);
--lvd-cc-badge-text:      var(--lvd-color-white);
--lvd-cc-button-nudge-text: var(--lvd-color-gray-400);
--lvd-cc-icon-primary:    var(--lvd-color-primary);
--lvd-cc-icon-secondary:  var(--lvd-color-secondary);
--lvd-cc-icon-tertiary:   var(--lvd-color-tertiary);
--lvd-cc-icon-chip-primary:   var(--lvd-color-primary-light);
--lvd-cc-icon-chip-secondary: var(--lvd-color-secondary-light);
--lvd-cc-positive:        var(--lvd-color-success);
--lvd-cc-negative:        var(--lvd-color-error);
--lvd-cc-card-border:     var(--lvd-color-primary);
--lvd-cc-tag-bg:          rgba(0, 0, 0, 0.05);
--lvd-cc-tag-text:        var(--lvd-color-tertiary);
--lvd-cc-tag-border:      var(--lvd-color-tertiary);
--lvd-cc-tabs-bg:         rgba(0, 0, 0, 0.07);
--lvd-cc-tabs-border:     rgba(0, 0, 0, 0.12);
--lvd-cc-tab-text:        var(--lvd-color-text);
--lvd-cc-tab-text-active: var(--lvd-color-black);
--lvd-cc-tab-active-bg:   var(--lvd-color-white);
--lvd-cc-tab-indicator:   var(--lvd-color-primary);
--lvd-cc-field-bg:        var(--lvd-color-white);
--lvd-cc-field-border:    rgba(0, 0, 0, 0.2);
--lvd-cc-field-hover:     rgba(0, 0, 0, 0.05);
--lvd-cc-field-menu-bg:   var(--lvd-color-white);
--lvd-cc-rating:          var(--lvd-color-rating-dark);
}

/* Transparent */
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-transparent {
--lvd-cc-surface:         transparent;
}

/* White */
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-white {
--lvd-cc-surface:         var(--lvd-color-white);
}

/* Light */
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-light {
--lvd-cc-surface:         var(--lvd-color-gray-200);
}

/* Primary Light */
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-pl {
--lvd-cc-surface:         var(--lvd-color-primary-light);
--lvd-cc-section-title:   var(--lvd-color-primary-light-on);
--lvd-cc-keyword:         var(--lvd-color-primary-dark);
--lvd-cc-title:           var(--lvd-color-primary-light-on);
--lvd-cc-text:            var(--lvd-color-primary-light-on);
--lvd-cc-close:           var(--lvd-color-primary-light-on);
--lvd-cc-button-o-border: var(--lvd-color-primary);
--lvd-cc-button-o-text:   var(--lvd-color-primary);
--lvd-cc-button-t-text:   var(--lvd-color-primary);
--lvd-cc-button-nudge-text: var(--lvd-color-primary);
--lvd-cc-tag-text:        var(--lvd-color-primary-dark);
--lvd-cc-tag-border:      var(--lvd-color-primary-dark);
}

/* Primary Soft */
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-ps {
--lvd-cc-surface:         var(--lvd-color-primary-soft);
--lvd-cc-section-title:   var(--lvd-color-primary-dark);
--lvd-cc-keyword:         var(--lvd-color-primary-soft-on);
--lvd-cc-title:           var(--lvd-color-primary-dark);
--lvd-cc-text:            var(--lvd-color-primary-soft-on);
--lvd-cc-close:           var(--lvd-color-primary-soft-on);
--lvd-cc-button-o-border: var(--lvd-color-primary);
--lvd-cc-button-o-text:   var(--lvd-color-primary);
--lvd-cc-button-t-text:   var(--lvd-color-primary);
--lvd-cc-button-nudge-text: var(--lvd-color-primary);
--lvd-cc-tag-text:        var(--lvd-color-primary-soft-on);
--lvd-cc-tag-border:      var(--lvd-color-primary-soft-on);
}

/* Primary Dark */
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-pd {
--lvd-cc-tabs-bg:         rgba(255, 255, 255, 0.15);
--lvd-cc-tabs-border:     rgba(255, 255, 255, 0.25);
--lvd-cc-tab-text:        var(--lvd-color-white);
--lvd-cc-tab-text-active: var(--lvd-color-black);
--lvd-cc-tab-active-bg:   var(--lvd-color-white);
--lvd-cc-tab-indicator:   var(--lvd-color-white);
--lvd-cc-field-bg:        rgba(255, 255, 255, 0.08);
--lvd-cc-field-border:    rgba(255, 255, 255, 0.3);
--lvd-cc-field-hover:     rgba(255, 255, 255, 0.12);
--lvd-cc-field-menu-bg:   var(--lvd-color-primary-dark);
--lvd-cc-surface:         var(--lvd-color-primary-dark);
--lvd-cc-card-border:     var(--lvd-color-white);
--lvd-cc-tag-bg:          rgba(255, 255, 255, 0.15);
--lvd-cc-tag-text:        var(--lvd-color-white);
--lvd-cc-tag-border:      var(--lvd-color-white);
--lvd-cc-section-title:   var(--lvd-color-primary-dark-on);
--lvd-cc-keyword:         var(--lvd-color-white);
--lvd-cc-title:           var(--lvd-color-primary-dark-on);
--lvd-cc-text:            var(--lvd-color-primary-dark-on);
--lvd-cc-close:           var(--lvd-color-primary-dark-on);
--lvd-cc-link:            var(--lvd-color-white);
--lvd-cc-link-hover:      var(--lvd-color-gray-300);
--lvd-cc-list-icon:       var(--lvd-color-white);
--lvd-cc-list-icon-on:    var(--lvd-color-primary-dark);
--lvd-cc-button-o-border: var(--lvd-color-white);
--lvd-cc-button-o-text:   var(--lvd-color-white);
--lvd-cc-button-t-text:   var(--lvd-color-white);
--lvd-cc-button-nudge-text: var(--lvd-color-gray-300);
}

/* Secondary Light */
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-sl {
--lvd-cc-breadcrumbs-link:var(--lvd-color-secondary-dark);
--lvd-cc-surface:         var(--lvd-color-secondary-light);
--lvd-cc-card-border:     var(--lvd-color-secondary);
--lvd-cc-section-title:   var(--lvd-color-secondary-light-on);
--lvd-cc-keyword:         var(--lvd-color-secondary-dark);
--lvd-cc-title:           var(--lvd-color-secondary-light-on);
--lvd-cc-text:            var(--lvd-color-secondary-light-on);
--lvd-cc-close:           var(--lvd-color-secondary-light-on);
--lvd-cc-link:            var(--lvd-color-secondary-dark);
--lvd-cc-list-icon:       var(--lvd-color-secondary-dark);
--lvd-cc-list-icon-on:    var(--lvd-color-white);
--lvd-cc-button-o-border: var(--lvd-color-secondary);
--lvd-cc-button-o-text:   var(--lvd-color-secondary);
--lvd-cc-button-t-text:   var(--lvd-color-secondary);
--lvd-cc-button-nudge-text: var(--lvd-color-secondary-dark);
--lvd-cc-tag-text:        var(--lvd-color-secondary-dark);
--lvd-cc-tag-border:      var(--lvd-color-secondary-dark);
}

/* Secondary Soft */
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-ss {
--lvd-cc-breadcrumbs-link:var(--lvd-color-secondary-dark);
--lvd-cc-surface:         var(--lvd-color-secondary-soft);
--lvd-cc-card-border:     var(--lvd-color-secondary);
--lvd-cc-section-title:   var(--lvd-color-secondary-soft-on);
--lvd-cc-keyword:         var(--lvd-color-secondary-soft-on);
--lvd-cc-title:           var(--lvd-color-secondary-soft-on);
--lvd-cc-text:            var(--lvd-color-secondary-dark);
--lvd-cc-close:           var(--lvd-color-secondary-dark);
--lvd-cc-link:            var(--lvd-color-secondary-dark);
--lvd-cc-list-icon:       var(--lvd-color-secondary-dark);
--lvd-cc-list-icon-on:    var(--lvd-color-white);
--lvd-cc-button-o-border: var(--lvd-color-secondary-soft-on);
--lvd-cc-button-o-text:   var(--lvd-color-secondary-soft-on);
--lvd-cc-button-t-text:   var(--lvd-color-secondary-soft-on);
--lvd-cc-button-nudge-text: var(--lvd-color-secondary-dark);
--lvd-cc-tag-text:        var(--lvd-color-secondary-soft-on);
--lvd-cc-tag-border:      var(--lvd-color-secondary-soft-on);
}

/* Secondary Dark */
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-sd {
--lvd-cc-tabs-bg:         rgba(255, 255, 255, 0.15);
--lvd-cc-tabs-border:     rgba(255, 255, 255, 0.25);
--lvd-cc-tab-text:        var(--lvd-color-white);
--lvd-cc-tab-text-active: var(--lvd-color-black);
--lvd-cc-tab-active-bg:   var(--lvd-color-white);
--lvd-cc-tab-indicator:   var(--lvd-color-white);
--lvd-cc-field-bg:        rgba(255, 255, 255, 0.08);
--lvd-cc-field-border:    rgba(255, 255, 255, 0.3);
--lvd-cc-field-hover:     rgba(255, 255, 255, 0.12);
--lvd-cc-field-menu-bg:   var(--lvd-color-secondary-dark);
--lvd-cc-breadcrumbs-link:var(--lvd-color-white);
--lvd-cc-surface:         var(--lvd-color-secondary-dark);
--lvd-cc-card-border:     var(--lvd-color-white);
--lvd-cc-tag-bg:          rgba(255, 255, 255, 0.15);
--lvd-cc-tag-text:        var(--lvd-color-white);
--lvd-cc-tag-border:      var(--lvd-color-white);
--lvd-cc-section-title:   var(--lvd-color-secondary-dark-on);
--lvd-cc-keyword:         var(--lvd-color-secondary-dark-on);
--lvd-cc-title:           var(--lvd-color-secondary-dark-on);
--lvd-cc-text:            var(--lvd-color-secondary-dark-on);
--lvd-cc-close:           var(--lvd-color-secondary-dark-on);
--lvd-cc-link:            var(--lvd-color-white);
--lvd-cc-link-hover:      var(--lvd-color-gray-300);
--lvd-cc-list-icon:       var(--lvd-color-white);
--lvd-cc-list-icon-on:    var(--lvd-color-secondary-dark);
--lvd-cc-button-o-border: var(--lvd-color-secondary-dark-on);
--lvd-cc-button-o-text:   var(--lvd-color-secondary-dark-on);
--lvd-cc-button-t-text:   var(--lvd-color-secondary-dark-on);
--lvd-cc-button-nudge-text: var(--lvd-color-gray-300);
}

/*Accent */
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-accent {
--lvd-cc-tabs-bg:         rgba(255, 255, 255, 0.15);
--lvd-cc-tabs-border:     rgba(255, 255, 255, 0.25);
--lvd-cc-tab-text:        var(--lvd-color-white);
--lvd-cc-tab-text-active: var(--lvd-color-black);
--lvd-cc-tab-active-bg:   var(--lvd-color-white);
--lvd-cc-tab-indicator:   var(--lvd-color-white);
--lvd-cc-field-bg:        rgba(255, 255, 255, 0.08);
--lvd-cc-field-border:    rgba(255, 255, 255, 0.3);
--lvd-cc-field-hover:     rgba(255, 255, 255, 0.12);
--lvd-cc-field-menu-bg:   var(--lvd-color-primary);
--lvd-cc-breadcrumbs-link:var(--lvd-color-white);
--lvd-cc-surface:         var(--lvd-color-primary);
--lvd-cc-card-border:     var(--lvd-color-white);
--lvd-cc-tag-bg:          rgba(255, 255, 255, 0.15);
--lvd-cc-tag-text:        var(--lvd-color-white);
--lvd-cc-tag-border:      var(--lvd-color-white);
--lvd-cc-section-title:   var(--lvd-color-white);
--lvd-cc-keyword:         var(--lvd-color-white);
--lvd-cc-title:           var(--lvd-color-white);
--lvd-cc-text:            var(--lvd-color-white);
--lvd-cc-close:           var(--lvd-color-white);
--lvd-cc-link:            var(--lvd-color-primary-soft);
--lvd-cc-link-hover:      var(--lvd-color-white);
--lvd-cc-list-icon:       var(--lvd-color-white);
--lvd-cc-list-icon-on:    var(--lvd-color-primary);
--lvd-cc-button-bg:       var(--lvd-color-white);
--lvd-cc-button-border:   var(--lvd-color-white);
--lvd-cc-button-text:     var(--lvd-color-primary);
--lvd-cc-button-o-border: var(--lvd-color-white);
--lvd-cc-button-o-text:   var(--lvd-color-white);
--lvd-cc-button-t-text:   var(--lvd-color-white);
--lvd-cc-button-nudge-text: var(--lvd-color-white);
}

/* Dark */
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-dark {
--lvd-cc-tabs-bg:         rgba(255, 255, 255, 0.15);
--lvd-cc-tabs-border:     rgba(255, 255, 255, 0.25);
--lvd-cc-tab-text:        var(--lvd-color-white);
--lvd-cc-tab-text-active: var(--lvd-color-black);
--lvd-cc-tab-active-bg:   var(--lvd-color-white);
--lvd-cc-tab-indicator:   var(--lvd-color-white);
--lvd-cc-field-bg:        rgba(255, 255, 255, 0.08);
--lvd-cc-field-border:    rgba(255, 255, 255, 0.3);
--lvd-cc-field-hover:     rgba(255, 255, 255, 0.12);
--lvd-cc-field-menu-bg:   var(--lvd-color-black);
--lvd-cc-breadcrumbs-link:var(--lvd-color-white);
--lvd-cc-surface:         var(--lvd-color-black);
--lvd-cc-card-border:     var(--lvd-color-white);
--lvd-cc-tag-bg:          rgba(255, 255, 255, 0.15);
--lvd-cc-tag-text:        var(--lvd-color-white);
--lvd-cc-tag-border:      var(--lvd-color-white);
--lvd-cc-section-title:   var(--lvd-color-white);
--lvd-cc-keyword:         var(--lvd-color-white);
--lvd-cc-title:           var(--lvd-color-white);
--lvd-cc-text:            var(--lvd-color-white);
--lvd-cc-close:           var(--lvd-color-white);
--lvd-cc-link:            var(--lvd-color-white);
--lvd-cc-link-hover:      var(--lvd-color-gray-300);
--lvd-cc-list-icon:       var(--lvd-color-white);
--lvd-cc-list-icon-on:    var(--lvd-color-black);
--lvd-cc-button-bg:       var(--lvd-color-white);
--lvd-cc-button-border:   var(--lvd-color-white);
--lvd-cc-button-text:     var(--lvd-color-black);
--lvd-cc-button-o-border: var(--lvd-color-white);
--lvd-cc-button-o-text:   var(--lvd-color-white);
--lvd-cc-button-t-text:   var(--lvd-color-white);
--lvd-cc-button-nudge-text: var(--lvd-color-gray-300);
}

/* Icon and status roles — the editor picks a ROLE (primary, positive…); the token
   resolves it for the surface. Transparent/white/light keep the brand colours as they
   are. On the pale tints a value changes only where it falls under 3:1.

   On the coloured/dark surfaces (pd, sd, accent, dark) every role is derived from the
   surface's own ink, --lvd-cc-title: 30% role, 70% ink. The ink contrasts the surface
   by design and follows a site's overrides, so this holds for any palette — a fixed
   "white" assumed a dark primary and failed on a light one (accent on a neon primary). */
:is(.lvd-style-apply, .lvd-style-surface-apply):is(.lvd-style-pl, .lvd-style-ps) {
--lvd-cc-icon-secondary:  var(--lvd-color-secondary-dark);
--lvd-cc-icon-chip-primary: var(--lvd-color-white);
--lvd-cc-positive:        var(--lvd-color-secondary-dark);
}
:is(.lvd-style-apply, .lvd-style-surface-apply):is(.lvd-style-sl, .lvd-style-ss) {
--lvd-cc-icon-secondary:  var(--lvd-color-secondary-dark);
--lvd-cc-icon-chip-secondary: var(--lvd-color-white);
--lvd-cc-positive:        var(--lvd-color-secondary-dark);
}
/* Badge: an ink pill carrying the surface colour. Fallback for the roles: the ink itself. */
:is(.lvd-style-apply, .lvd-style-surface-apply):is(.lvd-style-pd, .lvd-style-sd, .lvd-style-accent, .lvd-style-dark) {
--lvd-cc-badge-bg:        var(--lvd-cc-title);
--lvd-cc-badge-text:      var(--lvd-cc-surface);
--lvd-cc-icon-primary:    var(--lvd-cc-title);
--lvd-cc-icon-secondary:  var(--lvd-cc-title);
--lvd-cc-icon-tertiary:   var(--lvd-cc-title);
--lvd-cc-positive:        var(--lvd-cc-title);
--lvd-cc-negative:        var(--lvd-cc-title);
--lvd-cc-rating:          var(--lvd-cc-title);
}

/* Same roles, keeping the client's hue where color-mix is available; the rules above
   are the fallback. */
@supports (color:color-mix(in srgb, red 50%, black)) {
:is(.lvd-style-apply, .lvd-style-surface-apply):is(.lvd-style-pl, .lvd-style-ps, .lvd-style-sl, .lvd-style-ss) {
--lvd-cc-positive:        color-mix(in srgb, var(--lvd-color-success) 50%, black);
--lvd-cc-negative:        color-mix(in srgb, var(--lvd-color-error) 50%, black);
}
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-ss {
--lvd-cc-icon-tertiary:   color-mix(in srgb, var(--lvd-color-tertiary) 50%, black);
}
/* Dark gold alone is under 3:1 on the soft tints (2.8 on ps, 2.2 on ss); deepened like the
   icon roles above. Mixing toward the ink isn't enough: on ss the ink itself is mid-green. */
:is(.lvd-style-apply, .lvd-style-surface-apply):is(.lvd-style-pl, .lvd-style-ps, .lvd-style-sl, .lvd-style-ss) {
--lvd-cc-rating:          color-mix(in srgb, var(--lvd-color-rating-dark) 70%, black);
}
:is(.lvd-style-apply, .lvd-style-surface-apply):is(.lvd-style-pd, .lvd-style-sd, .lvd-style-accent, .lvd-style-dark) {
--lvd-cc-icon-primary:    color-mix(in srgb, var(--lvd-color-primary) 30%, var(--lvd-cc-title));
--lvd-cc-icon-secondary:  color-mix(in srgb, var(--lvd-color-secondary) 30%, var(--lvd-cc-title));
--lvd-cc-icon-tertiary:   color-mix(in srgb, var(--lvd-color-tertiary) 30%, var(--lvd-cc-title));
--lvd-cc-positive:        color-mix(in srgb, var(--lvd-color-success) 30%, var(--lvd-cc-title));
--lvd-cc-negative:        color-mix(in srgb, var(--lvd-color-error) 30%, var(--lvd-cc-title));
--lvd-cc-rating:          color-mix(in srgb, var(--lvd-color-rating) 60%, var(--lvd-cc-title));
}
/* Accent is the client's primary, which may be light (dark ink): 60% gold fell to 2.6:1 there.
   Mostly ink keeps 3:1 either way — a pale gold on a dark primary, a deep gold on a light one. */
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-accent {
--lvd-cc-rating:          color-mix(in srgb, var(--lvd-color-rating) 35%, var(--lvd-cc-title));
}
}

/* Cards off — universal modifier: removes bg/shadow/border from child cards */
/* Applied via a separate ACF checkbox (independent of the style field) — combines with any surface */
.lvd-cards-off .lvd-card {
--lvd-cc-tabs-bg:          inherit;
--lvd-cc-tabs-border:      inherit;
--lvd-cc-tab-text:         inherit;
--lvd-cc-tab-text-active:  inherit;
--lvd-cc-tab-active-bg:    inherit;
--lvd-cc-tab-indicator:    inherit;
--lvd-cc-field-bg:          inherit;
--lvd-cc-field-border:      inherit;
--lvd-cc-field-hover:       inherit;
--lvd-cc-field-menu-bg:     inherit;
background:    transparent;
box-shadow:    none;
border:        none;
border-radius: 0;
/* Also neutralizes the lvd-card-lift hover (shadow above, scale here) */
transform:     none;
/* The card layer is gone → content reports to the SURFACE, not the card.
   `inherit` on a custom property takes the parent's computed value (the surface),
   cancelling the token scope introduced by the card style (e.g. lvd-style-white).
   Surface is NOT inherited — it is forced transparent above. */
--lvd-cc-breadcrumbs-link: inherit;
--lvd-cc-section-title:    inherit;
--lvd-cc-keyword:          inherit;
--lvd-cc-title:            inherit;
--lvd-cc-text:             inherit;
--lvd-cc-close:           inherit;
--lvd-cc-link:             inherit;
--lvd-cc-link-hover:       inherit;
--lvd-cc-list-icon:        inherit;
--lvd-cc-list-icon-on:     inherit;
--lvd-cc-button-border:    inherit;
--lvd-cc-button-bg:        inherit;
--lvd-cc-button-text:      inherit;
--lvd-cc-button-s-border:  inherit;
--lvd-cc-button-s-bg:      inherit;
--lvd-cc-button-s-text:    inherit;
--lvd-cc-button-o-border:  inherit;
--lvd-cc-button-o-text:    inherit;
--lvd-cc-button-t-text:    inherit;
--lvd-cc-button-nudge-text: inherit;
--lvd-cc-badge-bg:         inherit;
--lvd-cc-badge-text:       inherit;
--lvd-cc-icon-primary:     inherit;
--lvd-cc-icon-secondary:   inherit;
--lvd-cc-icon-tertiary:    inherit;
--lvd-cc-icon-chip-primary: inherit;
--lvd-cc-icon-chip-secondary: inherit;
--lvd-cc-positive:         inherit;
--lvd-cc-negative:         inherit;
--lvd-cc-card-border:      inherit;
--lvd-cc-tag-bg:           inherit;
--lvd-cc-tag-text:         inherit;
--lvd-cc-tag-border:       inherit;
--lvd-cc-rating:           inherit;
}

/* Surface main — a parent container (e.g. iColumns) takes over the surface.
   Descendant COMPONENT surfaces (.lvd-style-surface-apply) go transparent and
   inherit the main surface's tokens (same recipe as cards-off). Repeated items
   (.lvd-style-apply — cards) are intentionally NOT targeted: a grid placed in a
   column loses its section surface but keeps its own card styles. */
.lvd-surface-main .lvd-style-surface-apply {
--lvd-cc-tabs-bg:          inherit;
--lvd-cc-tabs-border:      inherit;
--lvd-cc-tab-text:         inherit;
--lvd-cc-tab-text-active:  inherit;
--lvd-cc-tab-active-bg:    inherit;
--lvd-cc-tab-indicator:    inherit;
--lvd-cc-field-bg:          inherit;
--lvd-cc-field-border:      inherit;
--lvd-cc-field-hover:       inherit;
--lvd-cc-field-menu-bg:     inherit;
background:    transparent;
--lvd-cc-surface:          transparent;
--lvd-cc-breadcrumbs-link: inherit;
--lvd-cc-section-title:    inherit;
--lvd-cc-keyword:          inherit;
--lvd-cc-title:            inherit;
--lvd-cc-text:             inherit;
--lvd-cc-close:           inherit;
--lvd-cc-link:             inherit;
--lvd-cc-link-hover:       inherit;
--lvd-cc-list-icon:        inherit;
--lvd-cc-list-icon-on:     inherit;
--lvd-cc-button-border:    inherit;
--lvd-cc-button-bg:        inherit;
--lvd-cc-button-text:      inherit;
--lvd-cc-button-s-border:  inherit;
--lvd-cc-button-s-bg:      inherit;
--lvd-cc-button-s-text:    inherit;
--lvd-cc-button-o-border:  inherit;
--lvd-cc-button-o-text:    inherit;
--lvd-cc-button-t-text:    inherit;
--lvd-cc-button-nudge-text: inherit;
--lvd-cc-badge-bg:         inherit;
--lvd-cc-badge-text:       inherit;
--lvd-cc-icon-primary:     inherit;
--lvd-cc-icon-secondary:   inherit;
--lvd-cc-icon-tertiary:    inherit;
--lvd-cc-icon-chip-primary: inherit;
--lvd-cc-icon-chip-secondary: inherit;
--lvd-cc-positive:         inherit;
--lvd-cc-negative:         inherit;
--lvd-cc-card-border:      inherit;
--lvd-cc-tag-bg:           inherit;
--lvd-cc-tag-text:         inherit;
--lvd-cc-tag-border:       inherit;
--lvd-cc-rating:           inherit;
}


/*----------------------------- ICONS -----------------------------*/
.lvd-icon             {display:flex; justify-content: center; align-items: center;}
.lvd-icon svg         {display: block; margin: 0;}
/*size*/
.lvd-icon-size-sm {width:48px; height:48px;}
.lvd-icon-size-sm:is(.lvd-icon-style-card-primary-light,.lvd-icon-style-dot-primary-light,.lvd-icon-style-card-secondary-light,.lvd-icon-style-dot-secondary-light) svg {height:24px; width:24px;}
.lvd-icon-size-sm:is(.lvd-icon-style-transparent,.lvd-icon-style-white,.lvd-icon-style-primary,.lvd-icon-style-secondary,.lvd-icon-style-tertiary) svg {height:32px; width:32px;}

.lvd-icon-size-md {width:56px; height:56px;}
.lvd-icon-size-md:is(.lvd-icon-style-card-primary-light,.lvd-icon-style-dot-primary-light,.lvd-icon-style-card-secondary-light,.lvd-icon-style-dot-secondary-light) svg {height:24px; width:24px;}
.lvd-icon-size-md:is(.lvd-icon-style-transparent,.lvd-icon-style-white,.lvd-icon-style-primary,.lvd-icon-style-secondary,.lvd-icon-style-tertiary) svg {height:40px; width:40px;}

.lvd-icon-size-lg {width:64px; height:64px;}
.lvd-icon-size-lg:is(.lvd-icon-style-card-primary-light,.lvd-icon-style-dot-primary-light,.lvd-icon-style-card-secondary-light,.lvd-icon-style-dot-secondary-light) svg {height:32px; width:32px;}
.lvd-icon-size-lg:is(.lvd-icon-style-transparent,.lvd-icon-style-white,.lvd-icon-style-primary,.lvd-icon-style-secondary,.lvd-icon-style-tertiary) svg {height:48px; width:48px;}

/*color fill*/
.lvd-icon-style-primary svg     {fill: var(--lvd-cc-icon-primary);}
.lvd-icon-style-white svg       {fill: var(--lvd-color-white);}
.lvd-icon-style-secondary svg   {fill: var(--lvd-cc-icon-secondary);}
.lvd-icon-style-tertiary svg    {fill: var(--lvd-cc-icon-tertiary);}
/*style*/
.lvd-icon-style-card-primary-light   {border-radius:var(--lvd-rounded); background:var(--lvd-cc-icon-chip-primary); color:var(--lvd-color-primary);}
.lvd-icon-style-dot-primary-light    {border-radius:50%; background:var(--lvd-cc-icon-chip-primary); color:var(--lvd-color-primary);}
.lvd-icon-style-card-secondary-light {border-radius:var(--lvd-rounded); background:var(--lvd-cc-icon-chip-secondary); color:var(--lvd-color-secondary);}
.lvd-icon-style-dot-secondary-light  {border-radius:50%; background:var(--lvd-cc-icon-chip-secondary); color:var(--lvd-color-secondary);}



/*----------------------------- COVER FILTERS -----------------------------*/
.lvd-filter-none-dark-text .lvd-breadcrumbs        {opacity:1; color:var(--lvd-color-text);}
.lvd-filter-none-dark-text .lvd-breadcrumbs  a     {color:var(--lvd-color-primary);}
.lvd-filter-none-dark-text .lvd-title       {color:var(--lvd-color-black); text-shadow: none;}
.lvd-filter-none-dark-text .lvd-keyword     {color:var(--lvd-color-tertiary); text-shadow: none;}
.lvd-filter-none-dark-text .lvd-text        {color:var(--lvd-color-text); text-shadow: none;}

.lvd-filter-none::after                    {display:none;}

.lvd-filter-light .lvd-title,
.lvd-filter-medium .lvd-title,
.lvd-filter-strong .lvd-title,
.lvd-filter-blackout .lvd-title,
.lvd-filter-overlay-dark .lvd-title,
.lvd-filter-light .lvd-keyword,
.lvd-filter-medium .lvd-keyword,
.lvd-filter-strong .lvd-keyword,
.lvd-filter-blackout .lvd-keyword,
.lvd-filter-overlay-dark .lvd-keyword       {text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);}

.lvd-filter-light .lvd-button-outlined,
.lvd-filter-medium .lvd-button-outlined,
.lvd-filter-strong .lvd-button-outlined,
.lvd-filter-blackout .lvd-button-outlined,
.lvd-filter-overlay-dark .lvd-button-outlined,
.lvd-filter-light .lvd-button-outlined-small,
.lvd-filter-medium .lvd-button-outlined-small,
.lvd-filter-strong .lvd-button-outlined-small,
.lvd-filter-blackout .lvd-button-outlined-small,
.lvd-filter-overlay-dark .lvd-button-outlined-small {color:var(--lvd-color-white); border-color:var(--lvd-color-white);}

.lvd-filter-light::after,
.lvd-filter-medium::after,
.lvd-filter-strong::after,
.lvd-filter-blackout::after,
.lvd-filter-overlay-dark::after    {content: ''; position: absolute; inset: 0; z-index: 2;}

.lvd-filter-light::after           {background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));}
.lvd-filter-medium::after          {background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));}
.lvd-filter-strong::after          {background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));}
.lvd-filter-blackout::after        {background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.95));}
.lvd-filter-overlay-dark::after    {background: rgba(0, 0, 0, 0.5); mix-blend-mode: overlay;}

/*----------------------------- DEFAULT FORMAT -----------------------------*/
.lvd-default p          {line-height: var(--lvd-line-height-base); margin-bottom:var(--lvd-mb-txt);}
.lvd-default ul         {display: grid; margin:0 0 16px 0; padding-left:20px;}
.lvd-default li         {list-style: none; position: relative; margin-bottom: 8px; padding-left: 22px; padding-right:16px;}
.lvd-default li::before {content: ""; display: block; position: absolute; left: 0; background-color: var(--lvd-cc-list-icon); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; width: 8px; height: 8px; top: 0.38em; left: 4px; -webkit-mask-image: url('../assets/svg/bs-icons/circle-fill.svg'); mask-image: url('../assets/svg/bs-icons/circle-fill.svg');}

.lvd-default.lvd-li-style-primary ul li             {margin-bottom: 16px; padding-left: 30px;}
.lvd-default.lvd-li-style-primary ul li::before     {width: 20px; height: 20px; top: 0.1em; left: 0; -webkit-mask-image: url('../assets/svg/bs-icons/check-circle-fill.svg'); mask-image: url('../assets/svg/bs-icons/check-circle-fill.svg');}

.lvd-default.lvd-li-style-secondary ul li           {margin-bottom: 16px; padding-left: 32px;}
.lvd-default.lvd-li-style-secondary ul li::before   {width: 20px; height: 20px; top: 0.1em; left: 0; background-color: var(--lvd-color-secondary); -webkit-mask-image: url('../assets/svg/bs-icons/check-circle.svg'); mask-image: url('../assets/svg/bs-icons/check-circle.svg');}

/* List columns */
.lvd-default.lvd-li-col1 ul             {grid-template-columns: repeat(1, minmax(0, 1fr));}
.lvd-default.lvd-li-col2 ul             {grid-template-columns: repeat(2, minmax(0, 1fr));}
.lvd-default.lvd-li-col3 ul             {grid-template-columns: repeat(3, minmax(0, 1fr));}
.lvd-default.lvd-li-col4 ul             {grid-template-columns: repeat(4, minmax(0, 1fr));}

/* Headings */
.lvd-default.lvd-text h2                {font-size:var(--lvd-text-h4); font-weight:700;}
.lvd-default.lvd-text h3                {font-size:var(--lvd-text-h5); font-weight:700;}
.lvd-default.lvd-text h4                {font-size:var(--lvd-text-body); font-weight:700;}


/*----------------------------- SEMANTIC TOKENS -----------------------------*/
.lvd-component          {position:relative;}
.lvd-breadcrumbs        {font-weight:300; font-size:var(--lvd-text-s2); font-family: var(--lvd-secondary-font);}
.lvd-breadcrumbs a      {color:var(--lvd-cc-breadcrumbs-link);}
.lvd-section-title      {font-weight:700; color:var(--lvd-cc-section-title);}
.lvd-keyword            {display:inline-block; margin-bottom:8px; font-weight:700; color:var(--lvd-cc-keyword); text-transform:uppercase; font-size:var(--lvd-text-body);}
.lvd-badge              {display:inline-block; background:var(--lvd-cc-badge-bg); color:var(--lvd-cc-badge-text); font-weight:700; padding:8px; border-radius:4px; box-shadow:var(--lvd-shadow-100);}
/* Close — the dismiss control shared by every overlay: modals, the video modal,
   the announcement panel, the search overlay.
   What is shared is the mechanics, not the icon: two shapes are in use and both
   are deliberate. A flat cross reads right in the header, next to an otherwise
   flat bar. On a modal it is too quiet — the surface is already a floating card,
   and the control has to read as a control, so those keep the filled disc.
   Override `--lvd-cc-close` on the SURFACE to recolour it, never the button's own
   background-color: there, background-color is the mask, not the colour.
   Positioning belongs to each component; only the look lives here. */
/* Black by default, everywhere — NOT --lvd-cc-text, which is #404040 and reads
   grey. A dismiss control is not body copy; it should be as definite as the X it
   draws. The surfaces that invert it declare `--lvd-cc-close` in their own
   appearance block, alongside the other tokens.
   The fallback sits at the point of use, not in a `:root` declaration: a custom
   property declared on :root resolves its own var() against :root, so it would
   freeze the colour there and stop following the surfaces that remap it.
   The icon URLs are relative to THIS file: a url() inside a custom property
   resolves against the stylesheet that declares it, not the one that uses it. */
/* The button is the ring, the inner span is the icon — a mask clips everything
   its own element paints, outline and box-shadow alike, so the focus indicator
   has to sit on a box that carries no mask. It cannot be skipped here: each of
   these overlays moves focus onto this button as it opens, making it the first
   thing a keyboard user meets. Markup: <button class="lvd-close">
   <span class="lvd-close-icon" aria-hidden="true"></span></button>. */
.lvd-close {
    display:block;
    width:var(--lvd-cc-close-size, 24px); height:var(--lvd-cc-close-size, 24px);
    padding:0; border:none; background:none; cursor:pointer;
}

.lvd-close-icon {
    display:block; width:100%; height:100%;
    background-color:var(--lvd-cc-close, var(--lvd-color-black));
    transition:transform 0.3s ease, opacity 0.3s ease;
    -webkit-mask-image:var(--lvd-cc-close-icon, url('../assets/svg/bs-icons/x-lg.svg'));
    mask-image:var(--lvd-cc-close-icon, url('../assets/svg/bs-icons/x-lg.svg'));
    -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
    -webkit-mask-size:contain; mask-size:contain;
    -webkit-mask-position:center; mask-position:center;
}

/* The modal family swaps the icon only — the colour is the same black. */
.lvd-close-disc {
    --lvd-cc-close-icon: url('../assets/svg/bs-icons/x-circle-fill.svg');
}

/* Transitional, deliberately narrow: AssetLoader versions this file by filemtime, so
   the new CSS goes live the instant it is uploaded, while a page cache can still be
   serving markup from before the inner span existed. Without this, such a button paints
   nothing at all — an invisible close control for the length of the cache TTL. It gets
   no focus ring, which is exactly the old behaviour; visible beats correct here.
   Remove once every deployed cache has turned over. */
.lvd-close:not(:has(.lvd-close-icon)) {
    background-color:var(--lvd-cc-close, var(--lvd-color-black));
    -webkit-mask-image:var(--lvd-cc-close-icon, url('../assets/svg/bs-icons/x-lg.svg'));
    mask-image:var(--lvd-cc-close-icon, url('../assets/svg/bs-icons/x-lg.svg'));
    -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
    -webkit-mask-size:contain; mask-size:contain;
    -webkit-mask-position:center; mask-position:center;
}

/* Geometry stays the global one (app-core.css: 2px solid, offset 3px); only the
   colour changes. --lvd-cc-close is the single value that already tracks every
   surface this control lands on, so the ring inverts wherever the X does. The
   global primary would fall to ~2.3:1 on lvd-style-pd and on the video modal's
   black mobile card — below the 3:1 that a focus indicator owes. */
.lvd-close:focus-visible {outline-color:var(--lvd-cc-close, var(--lvd-color-black));}

/* The disc fills its box edge to edge, so the global square ring at 3px reads as a
   box drawn around a circle — and this is the button the modals focus on open, so
   it is the first thing seen. Match the ring to the glyph and pull it in tight. */
.lvd-close-disc:focus-visible {border-radius:50%; outline-offset:2px;}

/* The dim is pointer feedback and belongs to :hover alone. Every one of these
   controls gets focused the moment its overlay opens — the video modal does it
   explicitly, to move focus inside — so dimming on focus meant the X was born
   at 70% black, which over white is simply grey. The rotation hid it: a filled
   disc is symmetric at 90°, so only the opacity ever showed. */
.lvd-close:hover .lvd-close-icon         {transform:rotate(90deg); opacity:0.7;}
.lvd-close:focus-visible .lvd-close-icon {transform:rotate(90deg);}

@media (prefers-reduced-motion: reduce)
{
.lvd-close-icon                          {transition:opacity 0.3s ease;}
.lvd-close:hover .lvd-close-icon,
.lvd-close:focus-visible .lvd-close-icon {transform:none;}
}

.lvd-tags               {display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px;}
.lvd-tags.lvd-text-center {justify-content:center;}
.lvd-tags.lvd-text-right  {justify-content:flex-end;}
/* Tag — metadata chip, deliberately QUIETER than the badge. Small radius echoes the
   badge (same family) but the fill is a faint tint with no border and no shadow, so a
   card carrying both keeps a clear hierarchy: badge = spotlight, tags = context.
   No pill: 999px is the button shape here, and tags are not interactive.
   The tint is translucent, so it becomes a shade of whatever surface it sits on.
   (--lvd-cc-tag-border is intentionally left defined but unused — an outlined tag
   variant can be reintroduced without touching the token cascade.) */
.lvd-tag                {display:inline-block; background:var(--lvd-cc-tag-bg); color:var(--lvd-cc-tag-text); padding:5px 10px; border-radius:4px; font-size:var(--lvd-text-s2); font-weight:600; line-height:1.4;}
/* The fill is derived from the tag's OWN text colour, not a neutral grey: a generic
   grey under coloured text reads cheap on white. Tinting with the text colour keeps
   the chip tonal — warm tertiary on light surfaces, white on dark ones — with a
   single rule, no per-appearance values, and it follows the brand colour if a project
   changes it. --lvd-cc-tag-bg above stays as the neutral fallback (custom properties
   can't fall back on their own: an unsupported color-mix would compute to invalid). */
@supports (color: color-mix(in srgb, red 10%, transparent)) {
.lvd-tag                {background:color-mix(in srgb, var(--lvd-cc-tag-text) 12%, transparent);}
}
.lvd-title              {margin-bottom:16px; font-weight:700; color:var(--lvd-cc-title);}

/* --- Logo item (shared by every logo component: ticker, grid, clouds…) ---
   Logos are normalised by HEIGHT, never by width: with a fixed width a 400x80 mark
   ends up 28px tall (unreadable) while a 100x200 one blows the row apart. Equal
   height is the only thing that makes mixed aspect ratios sit together.
   Requires trimmed artwork — padding baked into the file cannot be corrected here.
   Size classes go on the COMPONENT, shape classes on the ITEM (set from the real
   image ratio in PHP). */
.lvd-logo-item          {display:flex; align-items:center; justify-content:center;}
.lvd-logo-item img      {display:block; width:auto; height:var(--lvd-logo-h, 44px); max-width:var(--lvd-logo-max-w, 190px); object-fit:contain;}
/* Optical compensation — the eye reads AREA, not height: at equal height a wide mark
   looks oversized and a square one looks lost. */
.lvd-logo-item.lvd-logo-wide img {height:calc(var(--lvd-logo-h, 44px) * 0.74);}
.lvd-logo-item.lvd-logo-tall img {height:calc(var(--lvd-logo-h, 44px) * 1.14);}
/* Size = reference height (ACF: clone of lvd-logo-size-global) */
.lvd-logo-sm            {--lvd-logo-h:32px; --lvd-logo-max-w:140px;}
.lvd-logo-md            {--lvd-logo-h:44px; --lvd-logo-max-w:190px;}
.lvd-logo-lg            {--lvd-logo-h:60px; --lvd-logo-max-w:260px;}

.lvd-highlight          {}
.lvd-highlight-soft     {}
.lvd-text a             {color:var(--lvd-cc-link);}
/*.lvd-text             {font-weight: 400; color:var(--lvd-cc-text);} */

/*----------------------------- TRACKING -----------------------------*/
.lvd-track-item                             {position:relative; display:inline-block; margin-right:80px;}
.lvd-track-item-text                        {display:inline-block;}
.lvd-track-item-cta                         {position:absolute; display:inline-block; border-radius:4px; font-weight:400; width:115px; padding-left:20px; right:-60px; top:2px; bottom:0;  background: rgba(0, 0, 0, 0) linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 15%, rgba(255, 255, 255, 1) 100%) repeat scroll 0 0;}
.lvd-track-item-cta.lvd-track-item-cta-hide {display:none;}
/* Accent */
.lvd-style-accent .lvd-track-item-cta       {background: rgba(0, 0, 0, 0) linear-gradient(90deg, rgba(57, 88, 212, 0) 0%, rgba(57, 88, 212, 1) 15%, rgba(57, 88, 212, 1) 100%) repeat scroll 0 0;}
/* Dark */
/* Light */


/*----------------------------- AUTHOR -----------------------------*/
/* Author identity, styled ONCE for every place it appears: the medallion byline
   in listing cards and article heroes, and the wide author box at the end of an
   article. The name is s1 in the title colour, the job title s2 in grey — these
   two rules are the single source of truth, so the size classes stay OUT of the
   templates. Previously each context restyled them and they drifted; worst of
   all, blog-single.css bolded the job title, so the same partial rendered
   differently on an article than in a listing.

   This primitive also renders inside ACF components (hero-wings), which restyle
   themselves through the --lvd-cc-* appearance cascade — so NO fixed colours here.
   The name takes the appearance's title token; the job title inherits the
   surrounding text colour and is muted with opacity. A literal grey would be
   unreadable the moment a hero is set to a dark appearance.
   0.9 is the floor for AA at s2 across appearances on both reference palettes;
   on the soft tints (PS, SS) the base text has no headroom left, so it is not muted. */
.lvd-author-name               {font-size:var(--lvd-text-s1); color:var(--lvd-cc-title); margin-bottom:4px;}
/* Hover fades rather than recolouring, for the same reason. */
.lvd-author-name a             {color:inherit; text-decoration:none; transition:opacity 0.3s ease;}
.lvd-author-name a:hover       {color:inherit; opacity:0.7;}
.lvd-author-function           {font-size:var(--lvd-text-s2); color:inherit; opacity:0.9;}
:is(.lvd-style-apply, .lvd-style-surface-apply):is(.lvd-style-ps, .lvd-style-ss) .lvd-author-function {opacity:1;}

/* Medallion signature: round photo + name + job title. Used in hero blocks and
   in blog articles — generic, not tied to any one component. */
.lvd-author-byline             {gap:16px;}
.lvd-author-byline-image       {width:48px; height:48px; overflow:hidden; flex-shrink:0;}
.lvd-author-byline-image img   {border-radius:50%; width:48px; height:48px; object-fit:cover;}
/* Photo-left, text-right is inherently left-aligned: centred text next to a
   round photo reads as a mistake. Forced here so it never inherits text-align
   from a centred parent (e.g. the single-post hero). The medallion as a block
   can still be centred by the parent via justify-content. */
.lvd-author-byline-details     {text-align:left;}

/*----------------------------- POST META -----------------------------*/
/* Inline metadata row: category, author, date, updated, reading time. Shared by
   the blog card, the article hero and the related list, so it lives here rather
   than in one component's stylesheet.
   The separator is a pseudo-element on every item but the first — hiding a field
   from the Customizer must never leave an orphan dot behind.
   Muting is done with opacity, not a grey colour: the row has to stay readable
   on a dark surface too, and there is no muted-text token in the --lvd-cc-* set. */
.lvd-post-meta                  {display:flex; flex-wrap:wrap; align-items:center; gap:8px; color:var(--lvd-cc-text);}
.lvd-post-meta-item             {display:inline-flex; align-items:center; opacity:0.75;}
.lvd-post-meta-item + .lvd-post-meta-item::before   {content:"·"; margin-right:8px;}
.lvd-post-meta-category         {opacity:1; font-weight:700; color:var(--lvd-cc-link); text-decoration:none;}
.lvd-post-meta-category:hover   {color:var(--lvd-cc-link); opacity:0.7;}
.lvd-post-meta-updated          {font-style:italic;}

/*----------------------------- READING BADGE -----------------------------*/
/* Reading-time pill sat on an image, bottom-right. Copies the video-cover CTA
   look (translucent dark, blurred, white) but compact: clock icon + minutes.
   Placement is absolute here — every use sits bottom-right on an image — so the
   image wrapper just has to be a positioning context. */
.lvd-reading-badge          {position:absolute; bottom:16px; right:16px; z-index:2; display:inline-flex; align-items:center; gap:6px; background:rgba(0,0,0,0.6); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); color:var(--lvd-color-white); border-radius:20px; padding:6px 12px; font-weight:600; font-size:var(--lvd-text-s2); line-height:1; letter-spacing:0.5px; pointer-events:none;}
.lvd-reading-badge svg      {width:14px; height:14px; flex-shrink:0; fill:currentColor;}

/*----------------------------- PAGINATION -----------------------------*/
/* Grouped archives (Team, Jobs) — jump menu + per-term sections */
.lvd-archive-jumper                         {margin-bottom:40px;}
.lvd-archive-jumper ul                      {display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; list-style:none;}
.lvd-archive-jumper li                      {margin:0; padding:0;}
.lvd-archive-jumper a                       {display:inline-flex; align-items:center; gap:8px; padding:8px 16px; border:1px solid var(--lvd-color-gray-300); border-radius:20px; font-size:var(--lvd-text-s1); font-weight:600; color:var(--lvd-cc-text); text-decoration:none; transition:border-color 0.3s ease, color 0.3s ease;}
.lvd-archive-jumper a:hover                 {border-color:var(--lvd-color-primary); color:var(--lvd-color-primary);}
.lvd-archive-jumper-count                   {opacity:0.6; font-weight:400;}
.lvd-archive-group                          {scroll-margin-top:100px; margin-bottom:56px;}
.lvd-archive-group:last-child               {margin-bottom:0;}
.lvd-archive-group-title                    {margin-bottom:8px; color:var(--lvd-color-black);}
.lvd-archive-group-description              {margin-bottom:24px; max-width:1024px;}

/* padding used var(--lvd-py) — a CSS custom property that is defined nowhere
   (only the utility CLASS .lvd-py exists, which var() cannot read), so it
   resolved to nothing and the pagination had zero vertical spacing: the last row
   of cards sat flush against it on every archive. 32px matches what .lvd-py was
   clearly meant to mirror. */
.lvd-pagination                             {display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:4px; padding:32px 0;}
.lvd-pagination .page-numbers               {display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:40px; padding:0 8px; border-radius:20px; font-weight:600; font-size:var(--lvd-text-s1); color:var(--lvd-cc-text); text-decoration:none; transition:opacity 0.3s ease;}
.lvd-pagination .page-numbers:hover         {opacity:0.7; color:var(--lvd-cc-text);}
.lvd-pagination .page-numbers.current       {background:var(--lvd-cc-button-bg); color:var(--lvd-cc-button-text); pointer-events:none;}
.lvd-pagination .page-numbers.dots          {pointer-events:none;}
.lvd-pagination .prev,
.lvd-pagination .next                       {min-width:40px; height:40px; padding:10px; font-size:0; line-height:0;}
.lvd-pagination .prev                       {margin-right:8px;}
.lvd-pagination .next                       {margin-left:8px;}
.lvd-pagination .prev::before               {content:""; display:block; width:20px; height:20px; background-color:currentColor; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-size:contain; mask-size:contain; -webkit-mask-position:center; mask-position:center; -webkit-mask-image:url('../assets/svg/bs-icons/arrow-left.svg'); mask-image:url('../assets/svg/bs-icons/arrow-left.svg'); transition:transform 0.3s ease;}
.lvd-pagination .prev:hover::before         {transform:translateX(-5px);}
.lvd-pagination .next::after                {content:""; display:block; width:20px; height:20px; background-color:currentColor; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-size:contain; mask-size:contain; -webkit-mask-position:center; mask-position:center; -webkit-mask-image:url('../assets/svg/bs-icons/arrow-right.svg'); mask-image:url('../assets/svg/bs-icons/arrow-right.svg'); transition:transform 0.3s ease;}
.lvd-pagination .next:hover::after          {transform:translateX(5px);}

/*############################# MOBILE (bm-) #############################*/
@media (max-width:767px)
{
/* Logo item — smaller reference height on mobile */
.lvd-logo-sm            {--lvd-logo-h:26px; --lvd-logo-max-w:110px;}
.lvd-logo-md            {--lvd-logo-h:34px; --lvd-logo-max-w:140px;}
.lvd-logo-lg            {--lvd-logo-h:44px; --lvd-logo-max-w:180px;}

/*----------------------------- TYPOGRAPHY -----------------------------*/
h1, h2, h3, h4, h5      {--lvd-mb-txt:8px;}
h1 	                    {--lvd-text-h1:32px;}
h2 	                    {--lvd-text-h2:28px;}
h3 	                    {--lvd-text-h3:26px;}
h4 	                    {--lvd-text-h4:18px;}
h5 	                    {--lvd-text-h5:16px;}

.lvd-text-d1            {--lvd-text-d1:44px;}
.lvd-text-d2            {--lvd-text-d2:40px;}
.lvd-text-d3            {--lvd-text-d3:36px;}

.lvd-text-h1            {--lvd-text-h1:32px;}
.lvd-text-h2            {--lvd-text-h2:28px;}
.lvd-text-h3            {--lvd-text-h3:24px;}
.lvd-text-h4            {--lvd-text-h4:20px;}
.lvd-text-h5            {--lvd-text-h5:18px;}

.lvd-text-s1            {--lvd-text-s1:13px;}
.lvd-text-s2            {--lvd-text-s2:11px;}


/*----------------------------- LAYOUT -----------------------------*/
/* Grid gap */
.lvd-grid-gap-2xs     {gap:4px;}
.lvd-grid-gap-xs      {gap:8px;}
.lvd-grid-gap-sm      {gap:16px;}
.lvd-grid-gap         {gap:24px;}
.lvd-grid-gap-md      {gap:32px;}
.lvd-grid-gap-lg      {gap:40px;}
.lvd-grid-gap-xl      {gap:48px;}
.lvd-grid-gap-2xl     {gap:56px;}
.lvd-grid-gap-3xl     {gap:64px;}

/* Padding */
.lvd-px-lg-py        {padding:56px 16px} /*mixed*/

/* Margin big tiers — component/section spacing, reduse cu 16px pe mobil */
.lvd-mt-big1 {margin-top:48px;}
.lvd-mt-big2 {margin-top:64px;}
.lvd-mt-big3 {margin-top:80px;}
.lvd-mb-big1 {margin-bottom:48px;}
.lvd-mb-big2 {margin-bottom:64px;}
.lvd-mb-big3 {margin-bottom:80px;}

/*----------------------------- DEFAULT FORMAT -----------------------------*/
/* List columns */    
.lvd-default.lvd-li-col1 ul,
.lvd-default.lvd-li-col2 ul,    
.lvd-default.lvd-li-col3 ul,   
.lvd-default.lvd-li-col4 ul    {grid-template-columns: repeat(1, minmax(0, 1fr));}


/*----------------------------- TABLE -----------------------------*/
.lvd-table                      {margin-right:10px !important; margin-left:10px !important; width: calc(100% - 20px);}
.lvd-table td, .lvd-table th    {padding:10px 20px; border:1px solid var(--lvd-color-gray-300); }


/*----------------------------- BUTTONS -----------------------------*/
.lvd-button-group-self                 {padding:0 16px;}

/*Play Button*/
.lvd-play-button          {width:44px; height:44px; top: calc(50% - 8px);}
.lvd-video-actions .lvd-play-button        {width:36px; height:36px;}
.lvd-video-actions-center .lvd-play-button {width:44px; height:44px;}
.lvd-icon-play            {width:24px; height:24px;}
/* Media nav */
.lvd-media-nav-button     {width:36px; height:36px;}
.lvd-media-nav-button .lvd-media-nav-icon {width:14px; height:14px;}
/* Play Video CTA */
.lvd-video-cta            {top:calc(50% + 30px);}
.lvd-video-cta span       {font-size:var(--lvd-text-s2);}

/*----------------------------- ICONS -----------------------------*/
/*size*/
.lvd-icon-size-sm                                           {width:40px; height:40px;}
.lvd-icon-size-sm.lvd-icon-style-card-primary-light svg,
.lvd-icon-size-sm.lvd-icon-style-dot-primary-light svg,
.lvd-icon-size-sm.lvd-icon-style-card-secondary-light svg,
.lvd-icon-size-sm.lvd-icon-style-dot-secondary-light svg    {height:16px; width:16px;}
.lvd-icon-size-sm.lvd-icon-style-transparent svg,
.lvd-icon-size-sm.lvd-icon-style-white svg,
.lvd-icon-size-sm.lvd-icon-style-primary svg,
.lvd-icon-size-sm.lvd-icon-style-secondary svg,
.lvd-icon-size-sm.lvd-icon-style-tertiary svg               {height:24px; width:24px;}

.lvd-icon-size-md                                           {width:48px; height:48px;}
.lvd-icon-size-md.lvd-icon-style-card-primary-light svg,
.lvd-icon-size-md.lvd-icon-style-dot-primary-light svg,
.lvd-icon-size-md.lvd-icon-style-card-secondary-light svg,
.lvd-icon-size-md.lvd-icon-style-dot-secondary-light svg    {height:24px; width:24px;}
.lvd-icon-size-md.lvd-icon-style-transparent svg,
.lvd-icon-size-md.lvd-icon-style-white svg,
.lvd-icon-size-md.lvd-icon-style-primary svg,
.lvd-icon-size-md.lvd-icon-style-secondary svg,
.lvd-icon-size-md.lvd-icon-style-tertiary svg               {height:32px; width:32px;}

.lvd-icon-size-lg                                           {width:56px; height:56px;}
.lvd-icon-size-lg.lvd-icon-style-card-primary-light svg,
.lvd-icon-size-lg.lvd-icon-style-dot-primary-light svg,
.lvd-icon-size-lg.lvd-icon-style-card-secondary-light svg,
.lvd-icon-size-lg.lvd-icon-style-dot-secondary-light svg    {height:32px; width:32px;}
.lvd-icon-size-lg.lvd-icon-style-transparent svg,
.lvd-icon-size-lg.lvd-icon-style-white svg,
.lvd-icon-size-lg.lvd-icon-style-primary svg,
.lvd-icon-size-lg.lvd-icon-style-secondary svg,
.lvd-icon-size-lg.lvd-icon-style-tertiary svg               {height:40px; width:40px;}

}
/*############################# END MOBILE (bm-) #############################*/




/*############################# TABLET (bt-) #############################*/
@media (min-width:768px) and (max-width:1024px)
{
/*----------------------------- LAYOUT -----------------------------*/
/* Grid gap */
.lvd-grid-gap-xs      {gap:3px;}
.lvd-grid-gap-sm      {gap:6px;}
.lvd-grid-gap         {gap:10px;}
.lvd-grid-gap-md      {gap:16px;}
.lvd-grid-gap-lg      {gap:20px;}
.lvd-grid-gap-xl      {gap:40px;}
.lvd-grid-gap-2xl     {gap:60px;}
.lvd-grid-gap-3xl     {gap:80px;}

/*----------------------------- DEFAULT FORMAT -----------------------------*/
/* List columns */
.lvd-default.bt-lvd-li-col1 ul    {grid-template-columns: repeat(1, minmax(0, 1fr));}
.lvd-default.bt-lvd-li-col2 ul    {grid-template-columns: repeat(2, minmax(0, 1fr));}
.lvd-default.bt-lvd-li-col3 ul    {grid-template-columns: repeat(3, minmax(0, 1fr));}
.lvd-default.bt-lvd-li-col4 ul    {grid-template-columns: repeat(4, minmax(0, 1fr));}


/*----------------------------- TABLE -----------------------------*/
.lvd-table                      {margin-right:20px !important; margin-left:20px !important; width: calc(100% - 40px);}
.lvd-table td, .lvd-table th    {padding:10px 20px; border:1px solid var(--lvd-color-gray-300); }


/*----------------------------- BUTTONS -----------------------------*/
.lvd-button-group-self                 {padding:0 20px;}

}
/*############################# END TABLET (bt-) #############################*/




