/* studio66 Documenten Manager – frontend styles
 * Text Domain: s66a-gtm
 * Version: 1.3.0
 */

/* =========================================================================
   Wrapper
   ========================================================================= */

.s66a-gtm-terms {
	margin: 0;
}

/* =========================================================================
   Type-sectie: koptekst + icoon
   ========================================================================= */

.s66a-gtm-type {
	margin: 0 0 28px 0;
}

.s66a-gtm-type__title {
	margin: 0 0 12px 0;
	font-size: 1.15em;
	display: flex;
	align-items: center;
	gap: 10px;
}

.s66a-gtm-type__icon {
	width: 24px;
	height: 24px;
	object-fit: contain;
	display: inline-block;
	flex-shrink: 0;
}

/* =========================================================================
   Badge: "Huidig"
   ========================================================================= */

.s66a-gtm-terms__badge {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .02em;
	border: 0 !important;
	background: rgba(0, 0, 0, .07);
	vertical-align: middle;
}

/* =========================================================================
   Layout: Tabel
   ========================================================================= */

.s66a-gtm-terms--table .s66a-gtm-terms__table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 8px;
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
}

.s66a-gtm-terms--table .s66a-gtm-terms__table th,
.s66a-gtm-terms--table .s66a-gtm-terms__table td {
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

.s66a-gtm-terms--table .s66a-gtm-terms__table thead th {
	font-weight: 600;
	text-align: left;
	padding: 0 12px 6px 0;
	border-bottom: 2px solid rgba(0, 0, 0, .08) !important;
}

.s66a-gtm-terms--table .s66a-gtm-terms__table tbody td {
	padding: 10px 12px 10px 0;
	vertical-align: middle;
}

.s66a-gtm-terms--table .s66a-gtm-terms__col-date,
.s66a-gtm-terms--table .s66a-gtm-terms__col-link {
	white-space: nowrap;
}

/* =========================================================================
   Layout: Kaarten (card grid)
   ========================================================================= */

.s66a-gtm-terms--cards .s66a-gtm-cards {
	display: grid;
	grid-template-columns: repeat( var(--s66a-card-cols, 2), 1fr );
	gap: 16px;
}

/* Responsive: op smalle schermen altijd 1 kolom */
@media (max-width: 600px) {
	.s66a-gtm-terms--cards .s66a-gtm-cards {
		grid-template-columns: 1fr;
	}
}

.s66a-gtm-card {
	padding: 18px 20px;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 10px;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.s66a-gtm-card p {
	margin: 0;
}

.s66a-gtm-card__version {
	font-size: 1.05em;
}

.s66a-gtm-card__date {
	font-size: 0.875em;
	color: #555;
}

.s66a-gtm-card__label {
	font-weight: 600;
}

.s66a-gtm-card__link {
	margin-top: 6px;
}

/* =========================================================================
   PDF-link
   ========================================================================= */

.s66a-gtm-pdf-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	text-decoration: none;
	font-weight: 500;
}

.s66a-gtm-pdf-link:hover {
	text-decoration: underline;
}

/* =========================================================================
   Leeg-bericht
   ========================================================================= */

.s66a-gtm-empty {
	opacity: .65;
	font-style: italic;
}
