/* From Desk Section Styles */

@font-face {
    font-family: 'New Rocker';
    src: url('../../assets/fonts/New_Rocker/NewRocker-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Inria Serif';
    src: url('../../assets/fonts/Inria_Serif/InriaSerif-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Inria Serif';
    src: url('../../assets/fonts/Inria_Serif/InriaSerif-Bold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Inria Serif';
    src: url('../../assets/fonts/Inria_Serif/InriaSerif-Italic.ttf') format('truetype');
    font-style: italic;
}

.mentors-note {
    width: 100%;
    padding: 4rem 2rem;
    background-color: #f5f1e8;
    /* Matching existing background */
}

.mentors-note__container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
}

.mentors-note__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.mentors-note__line-thick,
.mentors-note__line-thin {
    width: 100%;
    background-color: #2c2c2c;
}

.mentors-note__line-thick {
    height: 2px;
}

.mentors-note__line-thin {
    height: 1px;
}

.mentors-note__title {
    font-family: 'New Rocker', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0.5rem 0;
    text-align: center;
}

.mentors-note__subtitle {
    font-family: 'New Rocker', sans-serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin: 1rem 0;
    text-align: center;
}

.mentors-note__content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.mentors-note__left {
    flex: 0 0 300px;
    /* Fixed width for the image column */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mentors-note__frame {
    width: 100%;
    /* border: 3px solid #3498db; */
    /* Blue border removed as image provides decoration */
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    position: relative;
}

.mentors-note__author-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: cover;
    margin-bottom: 1rem;
}

.mentors-note__border {
    width: 100%;
    max-width: 80%;
    height: auto;
    margin-bottom: 1rem;
}

/* We can add a pseudo-element for the decorative vine if we had the SVG/image */
/* For now, just the blue border and the content inside */

.mentors-note__author-name {
    font-family: 'Inria Serif', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a3a52;
    margin-bottom: 0.2rem;
    text-align: center;
}

.mentors-note__author-title {
    font-family: 'Inria Serif', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    text-align: center;
}

.mentors-note__right {
    flex: 1;
}

.mentors-note__text-box {
    padding: 2rem;
    position: relative;
    outline: 1px solid rgba(37, 52, 79, 0.8);
    outline-offset: -3px;
    background-image: 
        /* top line */
        repeating-linear-gradient(90deg, #25344FCC 0, #25344FCC 8px, transparent 8px, transparent 20px),
        /* right line */
        repeating-linear-gradient(0deg, #25344FCC 0, #25344FCC 8px, transparent 8px, transparent 20px),
        /* bottom line */
        repeating-linear-gradient(90deg, #25344FCC 0, #25344FCC 8px, transparent 8px, transparent 20px),
        /* left line */
        repeating-linear-gradient(0deg, #25344FCC 0, #25344FCC 8px, transparent 8px, transparent 20px);
    background-position: 0 0, 100% 0, 0 100%, 0 0;
    background-size: 100% 3px, 3px 100%, 100% 3px, 3px 100%;
    background-repeat: repeat-x, repeat-y, repeat-x, repeat-y;
    background-attachment: local;
}

/* Corner markers if needed, but dashed border is what's visible */

.mentors-note__paragraph {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #2c2c2c;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.mentors-note__paragraph:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .mentors-note {
        padding: 2rem 0.5rem;
    }

    .mentors-note__container {
        margin: 0;
        padding: 0 0.5rem;
    }

    .mentors-note__content {
        flex-direction: column;
        align-items: center;
    }

    .mentors-note__left {
        width: 100%;
        max-width: 300px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 600px) {
    .mentors-note {
        padding: 2rem 0.5rem;
    }

    .mentors-note__container {
        margin: 0;
        padding: 0 0.5rem;
    }

    .mentors-note__title {
        font-size: 2.5rem;
    }

    .mentors-note__subtitle {
        font-size: 1.8rem;
    }

    .mentors-note__text-box {
        padding: 1rem;
    }
}
