/* ==========================================================================
   SISTEM MODULAR DE FORMATRE - LICENTEPC (V7)
   ========================================================================== */

.lpc-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #242424;
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px;
    text-align: left !important;
}

/* --- TIPOGRAFIE ȘI LIZIBILITATE  --- */
.lpc-container p, .lpc-container td {
    text-align: left !important;
    font-size: 16px;
    line-height: 1.75; 
    color: #2f2f2f;
    margin-bottom: 15px;
}

.lpc-container h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #111111;
    margin: 35px 0 15px 0;
    border-bottom: 1px solid #e1dfdd;
    padding-bottom: 8px;
    text-align: left !important;
}

/* Subtitluri și Întrebări FAQ (Stil minimalist premium Apple/Microsoft Docs) */
.lpc-container h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #242424; 
    margin: 25px 0 10px 0;
    text-align: left !important;
}

/* --- 1. CASETA INTRODUCTIVĂ / HERO (BLEU-GRI) --- */
.lpc-hero {
    background-color: #f4f7fa;
    border-left: 4px solid #0066cc;
    padding: 22px;
    margin-bottom: 25px;
    border-radius: 0 6px 6px 0;
}
.lpc-hero p {
    font-size: 16.5px;
    margin-bottom: 0;
}

/* --- 2. SISTEM DE GRILE ȘI CARDURI FLEXIBILE --- */
.lpc-grid {
    display: grid;
    gap: 20px;
    margin: 25px 0;
}
.lpc-grid-2col { grid-template-columns: repeat(2, 1fr); }
.lpc-grid-3col { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.lpc-grid-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Carduri profesionale cu margini rotunjite discret */
.lpc-card {
    background: #ffffff;
    padding: 22px;
    border: 1px solid #e1dfdd;
    border-radius: 6px; 
    box-shadow: 0 1.6px 3.6px rgba(0,0,0,0.04);
}
.lpc-card strong {
    color: #0066cc; 
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}
.lpc-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    display: block;
}

/* --- 3. BATTLECARDS (COMPARAȚIE PRODUSE) --- */
.lpc-battlegrid {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}
.lpc-battlegrid-2col { grid-template-columns: repeat(2, 1fr); }
.lpc-battlegrid-3col { grid-template-columns: repeat(3, 1fr); }

.lpc-battlecard {
    background: #ffffff;
    border: 1px solid #e1dfdd;
    border-radius: 8px;
    padding: 20px;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}
.lpc-battlecard-img-wrap {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.lpc-battlecard-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.lpc-battlecard h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111111;
    margin: 10px 0;
    min-height: 44px; 
    text-align: center !important;
}
.lpc-btn-buy {
    display: block;
    background-color: #0066cc;
    color: #ffffff !important;
    text-align: center !important;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
    margin: 15px 0 20px 0;
    transition: background-color 0.2s;
}
.lpc-btn-buy:hover {
    background-color: #004499;
}
.lpc-battlecard ul {
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-top: 15px;
    border-top: 1px dashed #e1dfdd;
    padding-top: 15px;
    flex-grow: 1;
}
.lpc-battlecard li {
    font-size: 14px !important;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    padding-left: 18px;
    color: #444444;
    text-align: left !important;
}
.lpc-battlecard li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

/* --- 4. MODEL CARUSEL TEXT-IMAGINE NATIV --- */
.lpc-carousel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.lpc-carousel-item {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e1dfdd;
    text-align: center !important; /* Permite centrarea elementelor de tip block și inline */
}
.lpc-carousel-img {
    width: 360px;
    max-width: 100%;
    height: 220px; 
    object-fit: cover; 
    display: block;
    margin: 0 auto !important; /* Imaginea rămâne perfect centrată în card */
}
.lpc-carousel-caption {
    padding: 18px;
    text-align: left !important; /* Setează comportamentul de bază al zonei la stânga pentru descriere */
}
.lpc-carousel-caption strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111111;
    display: block;
    margin-bottom: 12px;
    text-align: center !important; /* Forțează centrarea titlului îngroșat în armonie cu imaginea */
}
.lpc-carousel-caption p {
    font-size: 15px !important; 
    line-height: 1.6;
    color: #555555;
    margin-bottom: 0;
    text-align: left !important; /* Paragraful de descriere rămâne aliniat la stânga pentru lizibilitate */
}

/* --- 5. OPTIMIZARE SPAȚIERE LISTE GENERALE --- */
.lpc-container ul, .lpc-container ol {
    margin-top: 10px;
    margin-bottom: 20px;
    padding-left: 25px; 
}
.lpc-container li {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 6px; 
    color: #2f2f2f;
    text-align: left !important;
}
.lpc-card li {
    margin-bottom: 6px;
    font-size: 15px;
}

/* --- 6. TABEL COMPACT ASIMETRIC --- */
.lpc-table-container {
    overflow-x: auto;
    margin: 25px 0;
    -webkit-overflow-scrolling: touch; /* Asigură un scroll lin pe dispozitivele iOS Apple */
}
.lpc-table {
    width: 100%;
    border-collapse: collapse;
}
.lpc-table th, .lpc-table td {
    border: 1px solid #e1dfdd;
    padding: 10px 14px; 
    text-align: left !important;
    font-size: 15px;
    background-color: #ffffff; 
}
/* Colorează exclusiv prima coloană din stânga a specificațiilor */
.lpc-table tr td:first-child, 
.lpc-table tr th:first-child {
    background-color: #f4f7fa !important;
    font-weight: 600;
    width: 30%;
    color: #111111;
}

/* --- 7. SECȚIUNI MULTIMEDIA --- */
.lpc-media-center { text-align: center; margin: 30px 0; }
.lpc-media-center img { max-width: 100%; height: auto; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); display: inline-block; }

.lpc-media-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 25px 0;
}
.lpc-media-2col img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

.lpc-video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; background: #000; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); margin: 25px 0; }
.lpc-video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* --- 8. ELEMENTE STRUCTURALE FAQ ȘI LINKURI --- */
.lpc-faq-item { margin-bottom: 22px; padding-bottom: 15px; border-bottom: 1px dashed #e1dfdd; }

.lpc-sources-section { margin: 35px 0; padding-top: 10px; }
.lpc-sources-list { list-style-type: none !important; padding-left: 0 !important; margin-top: 15px; }
.lpc-sources-list li { position: relative; padding-left: 20px; margin-bottom: 12px; }
.lpc-sources-list li::before { content: "→"; position: absolute; left: 0; color: #0066cc; font-weight: bold; }
.lpc-sources-list a { color: #0066cc; text-decoration: none; font-weight: 500; transition: color 0.2s, text-decoration 0.2s; }
.lpc-sources-list a:hover { color: #004499; text-decoration: underline; }

/* --- 9. ZONĂ SEMNALE DE ÎNCREDERE & BADGES --- */
.lpc-trust-section { margin-top: 60px; padding-top: 20px; border-top: none; text-align: center; }
.lpc-trust-title { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #111111; margin-bottom: 25px; }
.lpc-badge-grid { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 35px; margin: 15px 0; }
.lpc-badge-item { flex: 0 1 auto; max-width: 200px; height: auto; transition: transform 0.2s; }
.lpc-badge-item:hover { transform: scale(1.03); }

/* --- 10. MEDIUL RESPONSIV PENTRU TELEFOANE MOBILE --- */
@media (max-width: 768px) {
    .lpc-container { padding: 10px; }
    .lpc-grid-2col, .lpc-grid-3col, .lpc-grid-auto, .lpc-media-2col, .lpc-battlegrid-2col, .lpc-battlegrid-3col {
        grid-template-columns: 1fr !important; 
    }
    .lpc-container p, .lpc-container li, .lpc-container td { font-size: 15px; }
    .lpc-table tr td:first-child, .lpc-table tr th:first-child { width: 40%; }
    .lpc-badge-grid { gap: 20px; }
    .lpc-badge-item { max-width: 150px; } 
    .lpc-carousel-grid { overflow-x: auto; display: flex; scroll-snap-type: x mandatory; padding-bottom: 10px; }
    .lpc-carousel-item { flex: 0 0 85%; scroll-snap-align: start; text-align: left !important; }
}
