* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Mono', monospace;
    background-color: #F0EEE5;
    color: #2c2c2c;
    line-height: 1.25;
    padding: 60px 80px;
    min-width: 1200px;
}

/* Full-width layout for research detail pages */
body.research-detail {
    padding: 60px 120px;
    max-width: none;
}

header {
    margin-bottom: 20px;
}

h1 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #1a1a1a;
}

h2 {
    font-weight: 400;
    margin-bottom: 15px;
}

h3 {
    font-weight: 400;
    margin-bottom: 5px;
}

nav {
    margin-top: 20px;
    margin-bottom: 20px;
}

nav a {
    color: #1a1a1a;
    text-decoration: none;
    margin-right: 30px;
    font-size: 16px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

nav a:hover {
    border-bottom-color: #B05730;
}

nav a.active {
    border-bottom-color: #1a1a1a;
}

.intro {
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin-bottom: 20px;
}

.contact {
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin-bottom: 15px;
}

.paper-body {
    max-width: none;
    padding: 5px;
    margin-bottom: 5px;
}

.research-section {
    max-width: 800px;
    margin-bottom: 20px;
}

.research-item {
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}

.research-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: #1a1a1a;
    border-radius: 50%;
}

/* Research link styling */
.research-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.2s ease;
}

.research-link:hover {
    text-decoration: none;
}

.research-link:hover .research-title {
    color: #B05730;
}

.research-title {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.research-date {
    font-size: 10px;
    color: #666;
    margin-bottom: 12px;
}

.research-description {
    font-size: 10px;
    line-height: 1.7;
    color: #3c3c3c;
}

.paper-box {
    border: 1px solid #d4cdb8;
    background-color: #faf9f4;
    padding: 20px;
    margin-top: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.paper-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.paper-box .research-title {
    color: #B05730;
    font-size: 14px;
}

.paper-box .research-link:hover .research-title {
    color: #8a3f1f;
}

.research-heading {
    font-size: 28px;
    color: #B05730;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Research detail page styles */
.research-detail-page {
    max-width: none;
}

.research-detail-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #d4cdb8;
}

.research-detail-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #B05730;
    margin-bottom: 15px;
    line-height: 1.3;
}

.research-meta {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.research-abstract {
    font-size: 16px;
    line-height: 1.8;
    color: #2c2c2c;
    font-weight: 500;
}

.research-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #d4cdb8;
}

.content-section {
    background-color: #faf9f4;
    border: 1px solid #d4cdb8;
    padding: 30px;
}

.content-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.content-section p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.content-section ul, .content-section ol {
    font-size: 14px;
    line-height: 1.7;
    margin-left: 20px;
    margin-bottom: 15px;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #B05730;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid #B05730;
    transition: all 0.2s ease;
}

.back-link:hover {
    background-color: #B05730;
    color: #F0EEE5;
    text-decoration: none;
}

footer {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid #d4cdb8;
    font-size: 14px;
}

a:hover {
    text-decoration: underline;
}

/* Media asset styling with super square look and shadow */
.media-asset {
    border: 3px solid #1a1a1a;
    background-color: #faf9f4;
    padding: 0;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 1);
    display: block;
    max-width: 70%;
    overflow: hidden;
    margin-bottom: 30px;
    alignment-baseline: center;
}

.media-asset img,
.media-asset video {
    display: block;
    width: 100%;
    height: auto;
}

/* Profile photo specific styling */
.profile-photo {
    max-width: 300px;
    margin-bottom: 30px;
}

.paper-fig {
    max-width: 800px;
    margin-bottom: 30px;
    align-content: center;
}