
/* --- Publication list layout --- */

.publist-tile {
	border-width:1px;
	border-style:solid;
	border-color:#E9EDF2;
	padding:10px;
	margin-left:20px;
	margin-right:20px;
	margin-bottom:10px;
}
.publist-thumb {
	width:240px; 
	display:inline-block; 
	vertical-align:middle; 
	margin-left:5px;
}
.publist-thumb img {
	width:90%;
}
.publist-item {
	max-width:850px;
	display: inline-block; 
	vertical-align: middle;
}
.publist-item-authors {
	margin:0px;
}
.publist-item-authors a::after {
	content: none !important;
}

.publist-item-title {
	margin:0px;
}
.publist-item-title a {
	font-weight: bold; 
	color:#04316A; 
	text-decoration: none; 
}
.publist-item-title:hover a {
	font-weight: bold; 
	color:#04316A; 
	text-decoration: underline; 
}
.publist-item-venue {
	color:#8C9FB1;
	margin:0px;
}
.publist-item ul {
	margin:0px; 
	list-style-type:none; 
	padding:0;
}
.publist-item ul li {
	float:left;
	margin-top:5px; 
	margin-right:25px;
}
.publist-item ul li a {
	text-transform: lowercase;
	color:black;
	text-decoration: none; 
	font-weight: normal; 
}
.publist-item ul li a:hover {
	color: black;
	text-decoration: underline;
}
.publist-item ul li a img {
	height:22px;
	margin-right:5px;
	vertical-align: middle;
}


/* --- Publication details --- */
.bibtex {
	line-height:normal;
}
.pubdetail-tile {
	padding: 10px;
}
.pubdetail-tile h3 {
	margin-top:35px;
	margin-bottom:0px;
}
.pubdetail-authors {
	margin:0px;
}
.pubdetail-authors a::after {
	content: none !important;
}
.pubdetail-title {
	font-weight: bold; 
	margin-top:20px;
	margin-bottom:0px;
}
.pubdetail-venue {
	color:#8C9FB1;
	margin:0px;
}
.pubdetail-award {
	color:#FFB02E;
	margin-left:0px;
	margin-top:3px;
	margin-bottom:3px;
}
.pubdetail-item ul {
	margin:0px; 
	list-style-type:none; 
	padding:0;
}
.pubdetail-item ul li {
	float:left;
	margin-top:5px; 
	margin-right:25px;
}
.pubdetail-item ul li a {
	text-transform: lowercase;
	color:black;
}
.pubdetail-item ul li a img {
	height:22px;
	margin-right:5px;
	vertical-align: middle;
}
.pubdetail-img {
	text-align:center;
	display:block;
	margin-top:20px;
}
.pubdetail-img img {
	width:90%;
}
.related-publication ul {
	list-style-type:none;	
	padding:0;
}
.pubdetail-tile .related-publication .wp-block-button__link {
    height: auto !important;
    line-height: 2.0 !important; /* keeps text readable */
    padding: 0 !important;       /* keep arrow styling clean */
}

/* --- Reference formatting --- */

.html-text-reference {
	color: black;
}
.html-reference {
	color: black;
	text-decoration: none;
	font-weight: normal; 
}
.html-reference:hover {
	color: black;
	text-decoration: underline;
}

/* --- Table layout --- */

.table {
	text-align:left;
	border-collapse:collapse;
}
.table tr:nth-child(odd) {background-color: #E9EDF2;}
.table th {
	background-color:#DFE6EC;
	padding:7px;
}
.table td {
	padding:7px 15px 7px 7px;
}

/* Keep tables centered inside the constrained group */
.wp-block-group.is-layout-constrained > table {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%; /* This is the key */
    max-width: var(--small-max-width); /* preserve theme layout */
}

/* Left-align the content inside the table */
.wp-block-group.is-layout-constrained > table th,
.wp-block-group.is-layout-constrained > table td {
    text-align: left;
}

/* --- Dataset layout --- */

.data-item a img {
	width:16px;
	margin-top:4px;
	margin-right:4px;
}

/* Base dataset wrapper (kept for future use) */
.dataset {}

/* Remove all borders, outlines, and shadows from dataset tables */
.dataset table,
.dataset table * {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Prevent collapsed borders from creating ghost lines */
.dataset table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
	font-size: inherit !important;
}

/* Outer layout: 30% image column, 70% text column */
.dataset > table {
    width: 100%;
    table-layout: fixed;
}

.dataset > table > tbody > tr > td:first-child {
    width: 30%;
    vertical-align: top;
}

.dataset > table > tbody > tr > td.data-item {
    width: 70%;
    vertical-align: top;
    padding-left: 1rem;
}

/* Icons in text column */
.dataset td.data-item img {
    height: 1em;
    width: auto;
    vertical-align: middle;
}

/* Preview image spacing */
.dataset .preview-table img,
.dataset > table img {
    margin-bottom: 0.25rem;
}

/* Caption spacing */
.dataset .preview-table td,
.dataset > table td {
    line-height: 1.2;
}



#data-type2d {
  border-radius: 5px;
  background: #8C97D3;
  color: #FFFFFF;
  padding: 4px;
}
#data-type3d {
  border-radius: 5px;
  background: #F278A1;
  color: #FFFFFF;
  padding: 4px;
}
#data-typesteady {
  border-radius: 5px;
  background: #FF9A7A;
  color: #FFFFFF;
  padding: 4px;
}
#data-typeunsteady {
  border-radius: 5px;
  background: #66C0B8;
  color: #FFFFFF;
  padding: 4px;
}