@import "minimal-light";

/* ===== GLOBAL STYLES ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    line-height: 1.6;
    color: #2d3748;
}

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-weight: 700;
    color: #2d3748;
}

p, li, a, span, div {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

/* ===== INTRO PARAGRAPH ===== */
/* Style the intro "Hi! I'm a PhD student..." */
p:first-of-type {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 16px;
}

/* ===== LINKS - Keep your green color ===== */
a {
    color: #71b07b;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #5a9a64;
    text-decoration: underline;
}

/* ===== SECTION DIVIDERS ===== */
hr {
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 16px 0 16px 0;
}

/* ===== SECTION HEADINGS ===== */
h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-top: 20px;
    margin-bottom: 12px;
}

/* ===== NEWS SECTION ===== */
/* Style the news list */
h2:contains("News") + ul,
h2 + ul {
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

h2 + ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

h2 + ul li:last-child {
    border-bottom: none;
}

h2 + ul li strong {
    color: #2d3748;
    font-weight: 600;
}

/* ===== RESEARCH HIGHLIGHTS ===== */
/* Your mission statement paragraph */
#research-highlights + p,
h2 + p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 16px;
}

/* ===== RESEARCH CARDS ===== */
.pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin: 10px 0 16px 0;
}

.pillar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pillar:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #cbd5e0;
    transform: translateY(-2px);
}

.pillar h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 2px 0;
    color: #2d3748;
    line-height: 1.05;
    padding-left: 10px;
}

/* Color accents */
.pillar:nth-child(1) h3 {
    border-left: 4px solid #3b82f6;
}

.pillar:nth-child(2) h3 {
    border-left: 4px solid #8b5cf6;
}

.pillar:nth-child(3) h3 {
    border-left: 4px solid #10b981;
}

.pillar p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.25;
    margin: 0;
}

/* Expandable content */
.pillar-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.pillar.expanded .pillar-content {
    max-height: 3000px;
}

.pillar-content-inner {
    padding-top: 16px;
}

.section-intro {
    font-size: 0.9rem;
    color: #475569;
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.5;
    padding: 8px;
    background: #f8fafc;
    border-radius: 4px;
}

.subcategory {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.subcategory:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.subcategory-title {
    font-size: 14px;
    font-style: italic;
    color: #2d3748;
    margin-bottom: 4px;
    font-weight: 600;
}

.subcategory-subtitle {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
    font-style: italic;
}

.paper-refs {
    font-size: 12px;
    color: #2c3e50;
    line-height: 1.6;
}

.paper-ref {
    color: #5a7a5a;
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin: 3px 0;
    transition: color 0.2s;
}

.paper-ref:hover {
    text-decoration: underline;
    color: #3d5c3d;
}

.venue {
    color: #71b07b;
    font-weight: 600;
    font-size: 11px;
}

/* ===== PUBLICATIONS SECTION ===== */
/* Style publication items to be consistent */
.publications-list,
#publications + ul,
#publications + ol {
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

.publications-list li,
#publications + ul li,
#publications + ol li {
    background: white;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.publications-list li:hover,
#publications + ul li:hover,
#publications + ol li:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e0;
}

/* Publication titles */
.publication-title,
.publications-list li strong,
.publications-list li b {
    color: #2d3748;
    font-size: 1.05rem;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

/* Authors */
.publication-authors {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

/* Venue */
.publication-venue,
.publications-list li em {
    color: #71b07b;
    font-weight: 600;
    font-style: normal;
    font-size: 0.9rem;
}

/* ===== SERVICES SECTION ===== */
#services + ul,
#services + ol {
    padding-left: 20px;
}

#services + ul li,
#services + ol li {
    padding: 8px 0;
    line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
        margin-top: 32px;
    }
    
    .pillar h3 {
        font-size: 1.25rem;
    }
    
    .pillar {
        padding: 16px 20px;
    }
}

/* ===== PROFILE IMAGE ===== */
img {
    border-radius: 8px;
}

/* ===== CLEAN SPACING ===== */
section {
    margin-bottom: 16px;
}

/* Make sure wrapper doesn't override */
.wrapper {
    max-width: 1200px;
}
