body{
    background-image: url('./images/factivescatterplot.png'); /* Corrected path: single slash */
    background-repeat: repeat;
    background-size: 1000px  auto;
    background-position: 0 0;
    background-attachment: scroll;
    position: relative;
    z-index: 0;
}
body::before { /* Make sure the overlay is defined if you want it */
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.42); /* Example overlay color/opacity */
    z-index: -1;
    padding-bottom: 10px;
}

p{
  font-family: 'Montserrat', sans-serif;
}
.publications-intro {
    margin-bottom: 30px; /* Adjusted margin */
    text-align: left;
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 60px; /* Made bigger! */
    font-weight: 700;
    color: var(--text-dark-grey); /* Or your primary accent color if you prefer */
    margin-top: 0; /* Ensure no extra top margin */
    margin-bottom: 20px; /* Space before the divider */
}

.page-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-dark-grey);
    max-width: 100%; /* Allow description to span wider width */
    margin-top: 40px; /* Space after the divider */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 2500;
}

/* Specific styling for the section divider on the publications page */
.publications-intro + .section-divider { /* Targets the divider immediately after publications-intro */
    margin-top: 20px; /* Closer to the title */
    margin-bottom: 50px; /* Space before the publication list starts */
    width: 80%; /* Make it wider for this page */
}


.publication-list {
    margin-top: 50px; /* Space from the divider/description */
    max-width: 100%; /* Ensures publication list takes full width of its parent (.main-content-area) */
    margin-left: 0;
    margin-right: auto;
}

.publication-item {
    background-color: rgb(244, 244, 237);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 40px;
    border: 1px solid var(--secondary-support);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.publication-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.publication-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-accent);
    margin-top: 0;
    margin-bottom: 10px;
}

.publication-authors {
    font-size: 17px;
    color: var(--text-dark-grey);
    margin-bottom: 8px;
    line-height: 1.5;
}

.publication-authors strong {
    font-weight: 500;
}

.publication-details {
    font-size: 16px;
    color: var(--footer-text);
    margin-bottom: 20px;
    line-height: 1.5;
}

.publication-journal {
    font-style: italic;
}

.publication-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.publication-link-button {
    display: inline-block;
    padding: 10px 18px;
    background-color: transparent;
    color: var(--primary-accent);
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid var(--primary-accent);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, transform 0.2s ease-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.publication-link-button:hover {
    background-color: var(--primary-accent); /* A slightly darker shade of your accent for hover */
    color:white;
    transform: translateY(-2px);
}

.site-footer{
  margin-top:100px;
  margin-bottom:0px;
}

/* --- Responsive Adjustments for Publications Page --- */
@media (max-width: 900px) {
    .page-title {
        font-size: 45px; /* Adjusted for smaller screens */
    }
    .page-description {
        font-size: 18px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
    .publications-intro + .section-divider {
        margin-top: 15px;
        margin-bottom: 40px;
        width: 90%;
    }
    .publication-item {
        padding: 20px;
        margin-bottom: 30px;
    }
    .publication-title {
        font-size: 22px;
    }
    .publication-authors, .publication-details {
        font-size: 16px;
    }
    .publication-link-button {
        font-size: 14px;
        padding: 8px 15px;
    }
    .publication-links {
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .page-title {
        font-size: 38px; /* Adjusted for very small screens */
    }
    .page-description {
        font-size: 16px;
    }
    .publications-intro + .section-divider {
        margin-top: 10px;
        margin-bottom: 30px;
        width: 95%;
    }
    .publication-item {
        padding: 15px;
        margin-bottom: 25px;
    }
    .publication-title {
        font-size: 20px;
    }
    .publication-authors, .publication-details {
        font-size: 15px;
    }
    .publication-link-button {
        font-size: 13px;
        padding: 7px 12px;
    }
}