/**
 * Rezolve Investor - Presentations Widget Styles
 */

.rezolve-investor-presentations-wrapper {
	width: 100%;
}

.rezolve-investor-presentations-container {
	width: 100%;
}

.rezolve-investor-presentations-empty {
	text-align: center;
}

.rezolve-investor-presentations-empty-msg {
	margin: 0;
	opacity: 0.8;
}

/* List layout */
.rezolve-investor-presentations-layout-list .rezolve-investor-presentations-inner {
	display: flex;
	flex-direction: column;
}

.rezolve-investor-presentations-item {
	display: block;
	width: 100%;
}

.rezolve-investor-presentations-subfield {
	line-height: 1.5;
}

.rezolve-investor-presentations-value {
	word-break: break-word;
}

.rezolve-investor-presentations-value img {
	max-width: 100%;
	height: auto;
	display: block;
}

.rezolve-investor-presentations-value p:last-child {
	margin-bottom: 0;
}

/* Grid layout */
.rezolve-investor-presentations-layout-grid .rezolve-investor-presentations-inner {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.rezolve-investor-presentations-layout-grid .rezolve-investor-presentations-item {
	margin-bottom: 0;
}

/* Table layout */
.rezolve-investor-presentations-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: auto;
}

.rezolve-investor-presentations-table th,
.rezolve-investor-presentations-table td {
	padding: 0.75em 1em;
	text-align: left;
	border: 1px solid #ddd;
	vertical-align: top;
}

.rezolve-investor-presentations-table th {
	font-weight: 600;
}

.rezolve-investor-presentations-date {
	width: 30%;
}

.rezolve-investor-presentations-table .rezolve-investor-presentations-value img {
	max-width: 200px;
	height: auto;
}

/* Title column: PDF icon + title */
.rezolve-investor-presentations-title-cell {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	flex-wrap: wrap;
}

.rezolve-investor-presentations-pdf-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}

.rezolve-investor-presentations-pdf-icon {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.rezolve-investor-presentations-icon-pdf {
	display: inline-block;
	vertical-align: middle;
	flex-shrink: 0;
	font-size: 0.7em;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.rezolve-investor-presentations-pdf-link {
	text-decoration: none;
}

.rezolve-investor-presentations-pdf-link:hover {
	text-decoration: none;
	opacity: 0.85;
}
