/* Mentoring page */

.card-label {
    font-size: 1.15rem;
    margin: 0 0 0.9rem;
    font-weight: 700;
    color: #666;
}

/* Intro in two columns (text | know-how image) */
.mentoring-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.mentoring-intro-text {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #333;
}

.mentoring-intro-text p {
    margin: 0 0 1rem 0;
}

.mentoring-intro-text p:last-child {
    margin-bottom: 0;
}

.mentoring-intro-figure {
    margin: 0;
}

.mentoring-intro-figure img {
    width: auto;
    max-width: 100%;
    max-height: 420px;
    height: auto;
    object-fit: contain;
    display: block;
}

.mentoring-intro-figure figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #555;
    flex-shrink: 0;
}

/* Compact cycle entry cards (click to expand) */
.mentoring-cycles {
    margin-top: 0.5rem;
}

.mentoring-cycle-details {
    margin: 0;
}

.mentoring-cycle-thumb {
    display: inline-flex;
    flex-direction: column;
    max-width: 240px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
    cursor: pointer;
    list-style: none;
    text-decoration: none;
    color: #333;
}

.mentoring-cycle-thumb::-webkit-details-marker {
    display: none;
}

.mentoring-cycle-thumb::marker {
    content: "";
}

.mentoring-cycle-thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mentoring-cycle-thumb .content-image {
    min-height: 0;
    max-height: 160px;
    overflow: hidden;
}

.mentoring-cycle-thumb .content-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.mentoring-cycle-thumb .content-title {
    padding: 10px 12px 0;
    font-size: 0.9rem;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    color: #333;
}

.mentoring-cycle-program {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    font-weight: normal;
    color: #666;
}

/* read more / less less — match site-wide details toggle */
.mentoring-cycle-details summary::after {
    content: 'read more' !important;
    display: block;
    padding: 8px 12px 10px;
    color: #555;
    text-decoration: underline;
    font-size: 0.9rem;
    line-height: 1.2;
}

.mentoring-cycle-details[open] summary::after {
    content: 'less less' !important;
    color: #555;
}

.mentoring-cycle-content {
    margin-top: 1.5rem;
}

/* Expanded cycle: closure text + image | testimonials */
.mentoring-cycle-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 0.5rem;
}

.mentoring-cycle-main {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}

.mentoring-cycle-main p {
    margin: 0 0 1rem 0;
}

.mentoring-cycle-main p:last-of-type {
    margin-bottom: 1.25rem;
}

.mentoring-cycle-main figure {
    margin: 1rem 0 0;
}

.mentoring-cycle-main figure img {
    width: 100%;
    height: auto;
    display: block;
}

.mentoring-excerpts {
    padding-left: 1.5rem;
    border-left: 1px solid #eee;
}

.mentoring-excerpts h2 {
    font-size: 1.15rem;
    margin: 0 0 1rem 0;
}

.mentoring-excerpt {
    margin: 0 0 1.5rem 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
}

.mentoring-excerpt:last-child {
    margin-bottom: 0;
}

.mentoring-excerpt p {
    margin: 0 0 0.75rem 0;
}

.mentoring-excerpt p:last-child {
    margin-bottom: 0;
}

.mentoring-excerpt-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.35rem !important;
}

@media (max-width: 768px) {
    .mentoring-intro-grid,
    .mentoring-cycle-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mentoring-excerpts {
        padding-left: 0;
        border-left: none;
        padding-top: 1.5rem;
        border-top: 1px solid #eee;
    }
}
