/* ============================================
   MORE ACADEMIC PROJECTS PAGE STYLES
   Same academic case study layout as canpikas.css
   Works on top of style.css for base styles
============================================ */


/* ============================================
   PROJECT HERO
   Text only, full width — no photo for this page
============================================ */
.project-hero {
    width: min(75em, 100%);
    margin: 3em auto;
    padding: min(3em, 8%);
    background-color: transparent;
    border: none;
}

.project-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
    align-items: start;
}

.project-hero-text {
    display: flex;
    flex-direction: column;
    gap: 1em;
    text-align: left;
    max-width: 48em;
}

.project-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.3em;
}

.project-subtitle {
    font-size: clamp(1.1em, 2.5vw, 1.4em);
    color: var(--text-color);
    line-height: 1.5;
    opacity: 0.85;
    margin-bottom: 0.5em;
}

.project-intro {
    font-size: 1em;
    color: var(--text-color);
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 1em;
}

/* Metadata styling */
.project-meta {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    margin-top: 1em;
    border: none;
    padding: 0;
}

.meta-item {
    display: flex;
}

.meta-value {
    font-size: 0.95em;
    color: var(--text-color);
    line-height: 1.6;
}

.meta-value strong {
    color: var(--color-3);
    font-weight: 600;
}


/* ============================================
   PROJECT DIVIDER
   Thin line between sections
============================================ */
.project-divider {
    width: min(40em, 60%);
    margin: 3em auto;
    border: none;
    border-top: 1px solid rgba(5, 76, 47, 0.15);
}


/* ============================================
   CONTENT SECTIONS
   All sections have no background or border
============================================ */
.project-section {
    width: min(75em, 100%);
    margin: 4em auto;
    padding: 0 min(3em, 8%);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    background-color: transparent;
    border: none;
}

.project-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.section-heading {
    font-size: 2.5em;
    color: var(--color-3);
    font-weight: 700;
    margin-bottom: 1em;
}

.section-content {
    color: var(--text-color);
}

.section-content p {
    font-size: 1em;
    line-height: 1.8;
    margin-bottom: 1.2em;
    opacity: 0.9;
    text-align: left;
}

.italic-text {
    font-style: italic;
    font-weight: 400;
    opacity: 0.95;
}

.subsection-title {
    font-size: 1.2em;
    color: var(--color-3);
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 0.8em;
    text-align: left;
}

.subsection-title:first-child {
    margin-top: 0;
}

/* Role/date meta line — matches sidequests.css quest-meta */
.role-meta {
    font-size: 0.9em;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.8em;
    text-align: left;
}

/* Divider between the entries within the MSc Internship section */
.entry-divider {
    border: none;
    border-top: 1px solid rgba(5, 76, 47, 0.15);
    margin: 2.5em 0;
}

/* Text + diagram split for the Research Master Cluster entry */
.entry-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3em;
    align-items: start;
}

.entry-text p {
    text-align: left;
}

.entry-image-container img {
    width: 100%;
    height: auto;
    border-radius: 0.5em;
    display: block;
}

.source-text {
    display: block;
    font-size: 0.75em;
    line-height: 1.6;
    color: #888;
    text-align: center;
    font-style: italic;
    margin-top: 0.8em;
}


/* ============================================
   CONTENT LISTS
   Bullet point lists within sections
============================================ */
.content-list {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.content-list li {
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 0.8em;
    text-align: left;
}

.content-list li strong {
    color: var(--color-3);
    font-weight: 600;
}


/* ============================================
   FOOTER DRAWING SECTION
============================================ */
.drawing-section {
    background-color: var(--background-color);
    text-align: center;
}

.drawing-image {
    max-width: 40%;
    height: 90px;
}


/* ============================================
   FOOTER NAVIGATION
============================================ */
.project-footer {
    width: 100%;
    margin: 0 auto 3em auto;
    text-align: center;
    padding: 0;
    border: none;
    background-color: transparent;
}

.back-link {
    display: inline-block;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.05em;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--color-3);
}


/* ============================================
   MOBILE RESPONSIVE
============================================ */
@media (max-width: 768px) {
    .project-title {
        font-size: clamp(2em, 8vw, 2.5em);
    }

    .entry-split {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }
}
