/* Publications layout */
.publications-layout {
    height: 100vh;                      /* Full viewport height */
    overflow-y: auto;                   /* allow vertical scroll*/
    padding: 1rem 2rem 4rem 2rem;       /* top, right, bottom, left */
}
/* Fit for smart screens */
@media (max-width: 992px) {
    .publications-layout {
        padding: 1rem 2rem 4rem 2rem;  /* usa 5% del ancho de la pantalla como margen lateral */
    }
}
/* Page title */
.publications-title{
    font-size: 4rem;                    /* Large text size for visibility */
    font-weight: 700;                   /* Bold text */
    color: #1E1E1E;                     /* Dark gray text color */
    margin: 0 auto 2rem auto;           /* Center horizontally and add top/bottom space */
    text-align: center;                 /* Center the title */
    display: block;                     /* Ensure full-width block behavior */
}
.publications-title-section{
    width: 100%;                        /* Take full width of the page */
    display: flex;                      /* Use flex for robust centering */
    justify-content: center;            /* Center horizontally */
    align-items: center;                /* Center vertically within the section */
    padding: 1.5rem 3.5rem 0.5rem 3.5rem;   /* Padding around the title */
    margin-bottom: 0;                   /* Space below the title section */
}
.publications-content-section{
    display: block; /* makes padding effective */
    white-space: pre-line;        /* Interpret \n as line breaks */
    margin: 2rem auto 3rem auto;  /* Top and bottom spacing, center horizontally */
    padding: 1.5rem 4rem;           /* Inner spacing on all sides */
}

.publications-content-date {
    display: inline-block;
    font-weight: 600; /* Slightly bold for emphasis */
    color: #1E1E1E; /* Same dark gray as title for consistency */
    font-size: 1.1rem; /* Slightly larger text for names */
}
.publications-content-title {
    display: inline-block;
    font-weight: 600; /* Slightly bold for emphasis */
    color: #1E1E1E; /* Same dark gray as title for consistency */
    font-size: 1.8rem; /* Slightly larger text for names */
    text-decoration: none;
}
.publications-content-title:hover {
    text-decoration: underline;
}
.publications-content-author{
    display: inline-block;
    font-style: italic; /* Italic to differentiate profession */
    color: #444; /* Slightly lighter gray for subtle contrast */
    font-size: 1.1rem; /* Slightly larger text for names */
}
.publications-content-journal{
    color: #555; /* Medium gray for neutral tone */
    font-size: 1rem; /* Standard text size */
}
.publications-content{
    margin-bottom: 3rem; /* Space between members */
}
.publications-description {
    margin: 2rem auto 1rem auto;  /* Top and bottom spacing, center horizontally */
    padding: 1.5rem 4rem;           /* Inner spacing on all sides */
    font-size: 1.2rem;            /* Comfortable reading size */
    color: #333;                  /* Dark text color for readability */
    line-height: 1.8;             /* Line spacing for better readability */
    text-align: justify;          /* Justify text on both sides */
    white-space: pre-line;        /* Interpret \n as line breaks */
}
.publications-empty-msn {
    margin: 0 auto 0 auto;  /* Top and bottom spacing, center horizontally */
    padding: 0 4rem;           /* Inner spacing on all sides */
    font-size: 1.2rem;            /* Comfortable reading size */
    color: #333;                  /* Dark text color for readability */
    line-height: 1.8;             /* Line spacing for better readability */
    text-align: justify;          /* Justify text on both sides */
    white-space: pre-line;        /* Interpret \n as line breaks */
    font-weight: 600; /* Bold to distinguish labels from content */
}

/* Responsive for small screens */
@media (max-width: 768px) {
    .publications-title-section {
        padding: 1.5rem 0 0.5rem 0;   /* Padding around the title */
    }
    .publications-content-section{
        margin: 2rem 0 3rem 0;  /* Top and bottom spacing, center horizontally */
        padding: 1.5rem 0.5rem;           /* Inner spacing on all sides */
    }
    .publications-empty-msn {
        padding: 0 0.5rem;           /* Inner spacing on all sides */
    }
    .publications-description {
    padding: 1.5rem 0.5rem;           /* Inner spacing on all sides */
}
}
