body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}
.container {
    width: 80%;
    max-width: 960px;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.header {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #007bff;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.header img {
    width: 180px;
    height: 46px;
    margin-right: 20px;
}
.header-title {
    font-size: 1.6em;
    font-weight: bold;
    color: #333;
}
.document-type {
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}
h1.main-title {
    text-align: center;
    font-size: 2em;
    color: #007bff;
    margin-top: 0;
    margin-bottom: 0.5em;
}
h2.sub-title {
    text-align: center;
    font-size: 1.5em;
    color: #444;
    margin-top: 0;
    margin-bottom: 1em;
}
.authors {
    text-align: center;
    margin-bottom: 5px;
    font-size: 1.1em;
}
.affiliations {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
}
.affiliations p {
    margin: 2px 0;
    text-align: center;
}
.section {
    margin-bottom: 25px;
}
.section-title {
    font-size: 1.4em;
    color: #0056b3;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-top: 30px;
    margin-bottom: 15px;
}
.subsection-title {
    font-size: 1.2em;
    color: #0056b3;
    margin-top: 20px;
    margin-bottom: 10px;
}
p {
    margin-bottom: 10px;
    text-align: justify;
}
.keywords, .palabras-clave {
    font-style: italic;
    color: #555;
    margin-top:15px;
}
ul, ol {
    padding-left: 20px;
    margin-bottom: 15px;
}
li {
    margin-bottom: 5px;
}
.references ol li {
    margin-bottom: 10px;
    font-size: 0.9em;
}
a {
    color: #007bff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 25px 0;
}
.info-block h3.section-title {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
    margin-top: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 3px;
}
.info-block p {
    font-size: 0.95em;
    margin-bottom: 8px;
    text-align: left;
}
.info-block.metadata-block p { /* Specific for the CAMbios metadata block */
    font-size: 0.9em;
    line-height: 1.4; /* Adjust line height for better readability in dense blocks */
    margin-bottom: 6px;
}
.info-block.metadata-block p strong { /* Bolder titles for metadata subsections */
    font-weight: bold;
    color: #004a8c; /* Slightly darker blue for these strong tags if desired */
}

.publication-meta {
    text-align:center;
    font-size:0.9em;
    color: #666;
    margin-bottom: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    font-size: 0.9em;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
th {
    background-color: #f2f2f2;
}

/* Figure styling */
.figure-container {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: #f9f9f9;
}
.figure-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 10px auto; /* Center image and add bottom margin */
    border: 1px solid #ddd;
}
.figure-caption {
    font-size: 0.9em;
    color: #555;
    text-align: center; /* Center caption text */
    margin-top: 5px;
}
.figure-caption p { /* If caption itself has paragraphs */
    text-align: center;
    margin-bottom: 3px;
}


/* Figure styling */
.figure-container {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: #f9f9f9; /* Light background for figure block */
}
.figure-image {
    display: block; /* Ensures margin auto works for centering */
    max-width: 100%; /* Responsive image */
    height: auto;    /* Maintain aspect ratio */
    margin: 0 auto 10px auto; /* Center image and add some space below */
    border: 1px solid #ddd; /* Optional border for the image itself */
}
.figure-caption {
    font-size: 0.9em;
    color: #555;
    text-align: center; /* Center caption text */
    margin-top: 5px;
}
.figure-caption p { /* If caption itself has paragraphs */
    text-align: center;
    margin-bottom: 3px;
}
