/* Table of Contents Container */
.beauty-toc {
    background-color: #fcfcfc;
    border: 1px solid #f0f0f0;
    padding: 25px;
    border-radius: 4px;
    margin: 35px 0;
}

.beauty-toc .toc-header {
    font-weight: bold;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 1px solid #d4af37;
    display: inline-block;
    font-size: 0.85rem;
}

.beauty-toc p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.beauty-toc a {
    text-decoration: none;
    color: #444;
    transition: color 0.3s ease;
}

.beauty-toc a:hover {
    color: #d4af37;
}

/* Indentation for sub-links (2.1, 2.2, etc) */
.toc-indent {
    margin-left: 20px;
    border-left: 1px solid #eee;
    padding-left: 15px;
}

.toc-indent p {
    font-size: 0.9rem;
}

/* --- THE NARRATIVE INTRO --- */
/* Use this for the "Think of your pores..." paragraph */
.beauty-intro-text {
    margin-bottom: 25px; /* Creates space before the indented details start */
    line-height: 1.7;
    color: #333;
}

/* --- THE INDENTED DATA BLOCK --- */
/* Creates the left margin for "The Surface Polisher," etc. */
.beauty-summary-block {
    margin-left: 35px;      /* The requested left margin */
    margin-bottom: 15px;    /* Vertical gap between each specific point */
    line-height: 1.8;
    color: #4b5563;         /* Soft slate grey for better readability */
    font-size: 0.98rem;
}

/* --- THE BOLD DATA LABELS --- */
/* Targets "The Surface Polisher (AHA):" */
.beauty-summary-block strong {
    color: #111827;         /* High-contrast black for the labels */
    font-weight: 700;
    margin-right: 4px;
}

/* --- UNIVERSAL INDENTED BLOCK --- */
.beauty-summary-block, .beauty-cta-block {
    margin-left: 35px;
    margin-bottom: 25px;
    padding-left: 15px;
    line-height: 1.8;
}

/* --- THE CTA MODIFIER --- */
/* Adds a subtle "Gold Glow" and border to signal a link */
.beauty-cta-block {
    border-left: 3px solid #d4af37; /* Thicker gold line for CTAs */
    background-color: #fffdf9;      /* Very light cream background */
    padding: 20px;                  /* More space inside the box */
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;      /* Smooth transition for hover */
}

/* Hover Effect: The block shifts slightly to invite the click */
.beauty-cta-block:hover {
    background-color: #fff9ed;
    transform: translateX(5px);      /* Moves right slightly on hover */
    cursor: pointer;
}

/* Styling the Link inside the CTA */
.beauty-cta-block a {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid transparent;
}

.beauty-cta-block a:hover {
    border-bottom: 1px solid #d4af37;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 600px) {
    .beauty-summary-block {
        margin-left: 15px;  /* Reduces the margin so text doesn't look squished on phones */
        font-size: 0.95rem;
    }
}

/* --- CLINICAL DATA CARDS CONTAINER --- */
.comparison-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1.75rem;
}

/* Base Clinical Card Formatting */
.clinical-card {
    padding: 1.25rem;
    border-radius: 6px;
    border: 1px solid #eef1f5;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Card Typography */
.clinical-card .card-title {
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.clinical-card .card-meta {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.clinical-card .card-text {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444444;
}

.clinical-card .card-text:last-child {
    margin-bottom: 0;
}

/* Variant 1: Blue/Supportive Styling (e.g., Peptides, Niacinamide) */
.card-supportive {
    background-color: #fafbfc;
    border-left: 4px solid #0056b3;
}
.card-supportive .card-title {
    color: #1a1a1a;
}
.card-supportive .card-meta {
    color: #0056b3;
}

/* Variant 2: Orange/Active Styling (e.g., Retinol, Direct Acids) */
.card-active {
    background-color: #fffdfa;
    border-left: 4px solid #e67e22;
    border-color: #fdf2e2 #fdf2e2 #fdf2e2 #e67e22;
}
.card-active .card-title {
    color: #1a1a1a;
}
.card-active .card-meta {
    color: #e67e22;
}

/* --- RESPONSIVE LAYOUT (DEKSTOP SIDE-BY-SIDE) --- */
@media (min-width: 768px) {
    .comparison-cards-container {
        flex-direction: row;
    }
    .clinical-card {
        flex: 1;
    }
}

/* Epidermal Penetration Lab CSS Blueprint */
.ceramide-configurator {
    background: #fcfcfc;
    border: 1px solid #eeeeee;
    padding: 30px;
    border-radius: 8px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 800px;
}
.lab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
    margin-bottom: 25px;
}
.lab-header h3 { margin: 0; font-size: 1.4rem; color: #111; font-weight: 600; }
.lab-profile { font-size: 0.85rem; color: #666; text-transform: uppercase; letter-spacing: 0.5px; }
#lipid-skin-type { font-weight: 600; color: #000; }
.lab-controls-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
@media (max-width: 768px) {
    .lab-controls-grid { grid-template-columns: 1fr; gap: 15px; }
}
.lab-control-label { display: block; font-size: 0.8rem; text-transform: uppercase; color: #888; margin-bottom: 8px; font-weight: 500; }
.lab-controls-grid select {
    width: 100%; padding: 10px; border: 1px solid #ddd; background: #fff; font-size: 0.9rem; border-radius: 4px;
}
.lab-btn-group { display: flex; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.lab-btn-group button {
    flex: 1; border: none; background: #fff; padding: 10px; font-size: 0.85rem; cursor: pointer; color: #555; transition: all 0.2s;
}
.lab-btn-group button.btn-active { background: #111; color: #fff; font-weight: 500; }
.lipid-output-card { display: flex; gap: 30px; align-items: flex-start; }
@media (max-width: 600px) {
    .lipid-output-card { flex-direction: column; }
}
.lab-img-container { flex: 1; max-width: 240px; width: 100%; border-radius: 6px; overflow: hidden; }
.lab-image { width: 100%; height: 240px; object-fit: cover; filter: grayscale(20%); display: block; }
.lab-content-pane { flex: 2; }
.lab-badge { display: inline-block; background: #eaeaea; color: #333; font-size: 0.75rem; font-weight: 600; padding: 4px 8px; border-radius: 3px; text-transform: uppercase; margin-bottom: 12px; }
.lab-title { margin: 0 0 10px 0; font-size: 1.25rem; color: #111; font-weight: 500; }
.lab-desc { font-size: 0.95rem; line-height: 1.6; color: #444; margin: 0 0 20px 0; }
.lab-technical-panel { background: #f5f5f5; padding: 15px; border-radius: 4px; font-size: 0.9rem; margin-bottom: 20px; border-left: 3px solid #111; }
.lab-solid-cta { display: inline-block; background: #111; color: #fff !important; text-decoration: none !important; padding: 12px 24px; font-size: 0.9rem; font-weight: 500; border-radius: 4px; transition: background 0.2s; }
.lab-solid-cta:hover { background: #333; }
.lab-text-cta { display: inline-block; color: #111 !important; font-weight: 600; text-decoration: none !important; font-size: 0.9rem; }
.lab-text-cta:hover { text-decoration: underline !important; }
