/**
 * Shareholder Circulars page (mockup-aligned).
 */

.mtq-circ-page.mtq-standalone-section,
.mtq-circ-page-composite.mtq-standalone-section {
	background: transparent;
	border: none;
	padding: 0;
	margin-bottom: 0;
	box-shadow: none;
}

.mtq-circ-page-head {
	margin-bottom: 1.25rem;
}

.mtq-circ-page-eyebrow {
	margin: 0 0 0.4rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #018762;
}

.mtq-circ-page-title,
.mtq-circ-page .mtq-section-title {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #01247f;
	line-height: 1.15;
}

.mtq-circ-page-subtitle {
	margin: 0.5rem 0 0;
	max-width: 42rem;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #64748b;
}

/* Search bar */
.mtq-circ-search-bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(10rem, 14rem);
	gap: 1rem 1.25rem;
	padding: 1.1rem 1.25rem;
	margin-bottom: 1.75rem;
	background: #fff;
	border: 1px solid #e8edf3;
	border-radius: 10px;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.mtq-circ-search-label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #01247f;
}

.mtq-circ-search-input-wrap {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 0 0.65rem;
	background: #f8fafc;
}

.mtq-circ-search-icon {
	width: 1.1rem;
	height: 1.1rem;
	color: #94a3b8;
	flex-shrink: 0;
}

.mtq-circ-search-input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 0.55rem 0;
	font-size: 0.875rem;
	color: #0f172a;
	min-width: 0;
}

.mtq-circ-search-input:focus {
	outline: none;
}

.mtq-circ-fy-select {
	width: 100%;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 0.55rem 0.65rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #334155;
	background: #f8fafc;
}

/* Section headers */
.mtq-circ-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 1rem;
}

.mtq-circ-section-title {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 800;
	color: #01247f;
}

.mtq-circ-section-meta {
	margin: 0;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94a3b8;
}

.mtq-circ-view-all {
	border: none;
	background: none;
	padding: 0;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #018762;
	cursor: pointer;
}

.mtq-circ-view-all:hover {
	text-decoration: underline;
}

/* Current filing cards */
.mtq-circ-current {
	margin-bottom: 2rem;
}

.mtq-circ-current-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.mtq-circ-filing-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 1rem 1.25rem;
	align-items: center;
	padding: 1.1rem 1.25rem;
	background: #fff;
	border: 1px solid #e8edf3;
	border-radius: 10px;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.mtq-circ-filing-card.is-hidden {
	display: none;
}

.mtq-circ-empty-filter {
	display: none;
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	color: #64748b;
}

.mtq-circ-current.is-circ-filter-empty .mtq-circ-current-list,
.mtq-circ-archive.is-circ-filter-empty .mtq-circ-table-wrap {
	display: none;
}

.mtq-circ-current.is-circ-filter-empty .mtq-circ-empty-filter,
.mtq-circ-archive.is-circ-filter-empty .mtq-circ-empty-filter {
	display: block;
}

.mtq-circ-filing-thumb {
	width: 5.5rem;
	flex-shrink: 0;
}

.mtq-circ-filing-thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
	border: 1px solid #e2e8f0;
	object-fit: cover;
}

.mtq-circ-filing-thumb--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 7rem;
	background: #f1f5f9;
	border-radius: 4px;
	color: #cbd5e1;
}

.mtq-circ-filing-thumb--placeholder svg {
	width: 2rem;
	height: 2rem;
}

.mtq-circ-filing-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.4rem;
}

.mtq-circ-badge {
	display: inline-block;
	padding: 0.2rem 0.5rem;
	font-size: 0.5625rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 3px;
}

.mtq-circ-badge--mandate {
	background: #d1fae5;
	color: #047857;
}

.mtq-circ-badge--egm {
	background: #dbeafe;
	color: #1d4ed8;
}

.mtq-circ-badge--appendix,
.mtq-circ-badge--circular {
	background: #e0e7ff;
	color: #3730a3;
}

.mtq-circ-badge--filing {
	background: #f1f5f9;
	color: #475569;
}

.mtq-circ-ref {
	font-size: 0.625rem;
	font-weight: 600;
	color: #94a3b8;
	letter-spacing: 0.04em;
}

.mtq-circ-filing-title {
	margin: 0 0 0.35rem;
	font-size: 0.9375rem;
	font-weight: 800;
	color: #01247f;
	line-height: 1.35;
}

.mtq-circ-filing-desc {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: #64748b;
}

.mtq-circ-filing-meta {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #94a3b8;
}

.mtq-circ-filing-actions {
	display: flex;
	gap: 0.5rem;
}

.mtq-circ-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 6px;
	text-decoration: none;
	border: 2px solid transparent;
}

.mtq-circ-action-btn svg {
	width: 1.15rem;
	height: 1.15rem;
}

.mtq-circ-action-btn--download {
	background: #01247f;
	color: #fff;
	border-color: #01247f;
}

.mtq-circ-action-btn--download:hover {
	background: #013a9e;
	color: #fff;
}

.mtq-circ-action-btn--view {
	background: #fff;
	color: #01247f;
	border-color: #01247f;
}

.mtq-circ-action-btn--view:hover {
	background: #f8fafc;
}

/* Archive table */
.mtq-circ-archive {
	margin-bottom: 1.5rem;
}

.mtq-circ-table-wrap {
	overflow-x: auto;
	background: #fff;
	border: 1px solid #e8edf3;
	border-radius: 10px;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.mtq-circ-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.8125rem;
}

.mtq-circ-table thead th {
	padding: 0.75rem 1rem;
	text-align: left;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #01247f;
	background: #f8fafc;
	border-bottom: 1px solid #e8edf3;
}

.mtq-circ-table tbody td {
	padding: 0.85rem 1rem;
	border-bottom: 1px solid #f1f5f9;
	color: #475569;
	vertical-align: middle;
}

.mtq-circ-table tbody tr:last-child td {
	border-bottom: none;
}

.mtq-circ-table-row.is-hidden {
	display: none;
}

.mtq-circ-table-title {
	font-weight: 700;
	color: #01247f;
	text-decoration: none;
}

.mtq-circ-table-title:hover {
	text-decoration: underline;
}

.mtq-circ-table-dl {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	color: #018762;
	text-decoration: none;
	border-radius: 4px;
}

.mtq-circ-table-dl:hover {
	background: #ecfdf5;
}

.mtq-circ-table-dl svg {
	width: 1.1rem;
	height: 1.1rem;
}

.mtq-circ-empty {
	font-size: 0.875rem;
	color: #64748b;
	margin: 0 0 1rem;
}

.mtq-circ-page-composite.is-archive-expanded .mtq-circ-table-row.is-hidden-by-limit {
	display: table-row;
}

@media (max-width: 768px) {
	.mtq-circ-search-bar {
		grid-template-columns: 1fr;
	}

	.mtq-circ-filing-card {
		grid-template-columns: 1fr;
	}

	.mtq-circ-filing-actions {
		justify-content: flex-start;
	}

	.mtq-circ-table thead {
		display: none;
	}

	.mtq-circ-table tbody tr {
		display: block;
		padding: 0.75rem 1rem;
		border-bottom: 1px solid #f1f5f9;
	}

	.mtq-circ-table tbody td {
		display: block;
		padding: 0.2rem 0;
		border: none;
	}

	.mtq-circ-table tbody td::before {
		content: attr(data-label) ': ';
		font-weight: 700;
		color: #01247f;
		font-size: 0.625rem;
		text-transform: uppercase;
	}
}

@media print {
	.mtq-circ-search-bar,
	.mtq-circ-filing-actions,
	.mtq-circ-view-all {
		display: none !important;
	}

	.mtq-circ-filing-card.is-hidden,
	.mtq-circ-table-row.is-hidden {
		display: block !important;
	}
}
