@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
	margin: 0;
	padding: 0;
	background: #f6f6f6;
	color: #111;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 32px 20px;
	background: white;
}

/* Top header area */
header {
	text-align: center;
	padding: 15px 10px 0px;
}

h1 {
	font-family: 'Open Sans', sans-serif;
	font-size: clamp(28px, 6vw, 50px);
	line-height: 1.02;
	margin: 6px 0 18px;
	font-weight: 600;
	color: #333;
	letter-spacing: -0.02em;
}

/* Author row */
.meta {
	display: inline-block;
	color: #555;
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 1.4;
}

.meta a {
	color: #1a73e8;
	text-decoration: none;
	margin: 0 6px;
}

.meta a:hover {
	text-decoration: underline;
}

/* Centered paper CTA (e.g., Paper button) */
.paper-cta,
.paper-cta:link,
.paper-cta:visited {
	display: inline-block;
	background: #2f3438;
	color: #fff;
	padding: 10px 18px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	margin-top: 18px;
	box-shadow: 0 4px 16px rgba(47,52,56,0.12);
}

/* Layout: main + sidebar */
.layout {
	display: flex;
	gap: 28px;
	align-items: flex-start;
	margin-top: 22px;
}

.main {
	flex: 1;
}

.side {
	width: 300px;
}

/* Large 'Abstract' band that stands out */
section h2 {
	font-size: clamp(22px, 4vw, 36px);
	text-align: center;
	margin: 28px 0 14px;
	color: #3b3b3b;
}

.abstract {
	background: #f2f2f2;
	border: none;
	padding: 28px 30px;
	border-radius: 6px;
	color: #333;
	font-size: 15px;
	line-height: 1.75;
}

.abstract strong {
	font-weight: 700;
}

/* Citation area */
pre.bib {
	background: #fafafa;
	border: 1px solid #ececec;
	padding: 12px;
	white-space: pre-wrap;
	word-break: break-word;
	font-size: 0.95rem;
}

.citation {
	font-size: 0.95rem;
	color: #666;
	overflow-wrap: break-word;
}

embed.pdf {
	width: 100%;
	height: 720px;
	border: 1px solid #e0e0e0;
	display: block;
}

/* Small utility styles */
.hidden {
	display: none;
}

#copy-btn {
	padding: 6px 10px;
	background: #007bff;
	color: white;
	border: none;
	border-radius: 6px;
	cursor: pointer;
}

#copy-btn.copied {
	background: #1b7a1b;
}

.side-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Responsive */
@media (max-width: 1000px) {
	.container {
		max-width: 94vw;
		padding: 26px 16px;
	}

	.side {
		width: 100%;
	}

	.layout {
		flex-direction: column;
		gap: 16px;
	}

	embed.pdf {
		height: 520px;
	}
}

/* Table / listing helpers left intact but simplified */
.papers-table { width: 100%; border-collapse: collapse; margin-top: 1.2rem; font-size: 0.95rem; }
.papers-table th, .papers-table td { border: 1px solid #e8e8e8; padding: 10px 12px; vertical-align: top; }
.papers-table thead th { background: #fafafa; font-weight: 700; }
.papers-table a { color: #0066cc; text-decoration: none; }
.papers-table a:hover { text-decoration: underline; }
