/* --- Card cover --- */

.lvd-cm-card-cover                                        {position:relative;}
/* Base & Intro */
.lvd-cm-card-cover .lvd-section-intro.lvd-text-center     {margin-left: auto; margin-right: auto;}
.lvd-cm-card-cover .lvd-section-intro                     {max-width: 80%;}

/* Card Structure */
.lvd-cm-card-cover .lvd-card                              {position: relative; border-radius: var(--lvd-rounded); color: var(--lvd-color-white); display: block;}

/* Image Overlay (Gradient) */
.lvd-cm-card-cover .lvd-img                               {position: relative; width: 100%; height: 100%;}
.lvd-cm-card-cover .lvd-img::before                       {z-index: 3; content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.6) 100%); pointer-events: none;}
.lvd-cm-card-cover .lvd-img img                           {position: relative; border-radius: var(--lvd-rounded); width: 100%; display: block;}

/* Content Positioning */
.lvd-cm-card-cover .lvd-content                           {position: absolute; left: 0; bottom: 72px; padding: 0 32px; z-index: 4; width: 100%; transition: var(--lvd-transition);}
.lvd-cm-card-cover .lvd-card:hover .lvd-content           {bottom: 30%; transform: translateY(0);}

/* Hover Reveal Text */
.lvd-cm-card-cover .lvd-txt                               {max-height: 0; opacity: 0; overflow: hidden; transition: all 0.4s ease;}
.lvd-cm-card-cover .lvd-card:hover .lvd-txt               {max-height: 200px; opacity: 1; margin-top: 8px;}

/* Typography */
.lvd-cm-card-cover .lvd-title                             {font-weight: 700; margin-bottom: 0;}

/* Icon / Button Area */
.lvd-cm-card-cover .lvd-buttons                           {position: absolute; right: 30px; bottom: 30px; transition: var(--lvd-transition); z-index: 3;}
.lvd-cm-card-cover .lvd-card:hover .lvd-buttons           {right: 20px;}
.lvd-cm-card-cover .lvd-icon                              {color: var(--lvd-color-white); display: flex; width: 24px; height: 24px;}
.lvd-cm-card-cover .lvd-icon svg                          {width: 100%; height: 100%; fill: currentColor;}

/* Animation */
.lvd-cm-card-cover.lvd-animate-on-scroll .lvd-card        {opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease;}
.lvd-cm-card-cover.lvd-is-visible .lvd-card               {opacity: 1; transform: translateY(0);}


/* --- Bm (Mobile) --- */
@media (max-width: 767px) {
    .lvd-cm-card-cover                                    {padding-left: 16px; padding-right: 16px;}
    .lvd-cm-card-cover .lvd-section-intro                 {max-width: 100%;}
    
    /* Always show text on mobile */
    .lvd-cm-card-cover .lvd-txt                           {max-height: none; opacity: 1; margin-top: 8px; display: block;}
    .lvd-cm-card-cover .lvd-content                       {bottom: 24px; padding: 0 24px;}
    .lvd-cm-card-cover .lvd-buttons                       {right: 24px; bottom: 24px;}
}

/* --- Bt (Tablet) --- */
@media (min-width: 768px) and (max-width: 1024px) {
    .lvd-cm-card-cover                                    {padding-left: 24px ; padding-right: 24px;}
    .lvd-cm-card-cover .lvd-txt                           {max-height: none; opacity: 1; margin-top: 8px;}
}