/* ==========================================================================
   DROPTOURS (Tourenprogramm) — SILOED FEATURE STYLES
   --------------------------------------------------------------------------
   Every CSS rule specific to the Droptours integration lives HERE, and is
   enqueued ONLY on the Tourenprogramm template (see inc/droptours.php). Nothing
   Droptours-specific lives in the shared stylesheets.

   TO REMOVE THE WHOLE FEATURE, delete these four things:
     • template-tourenprogramm.php   (the page template)
     • assets/css/droptours.css      (this file)
     • inc/droptours.php             (loads this file; + its require in functions.php)
     • assets/js/droptours.js        (only if it was ever added — none today)
   After that, no trace of Droptours remains in the theme.
   ========================================================================== */

/* Container that wraps the plugin's [sacr_droptours] output. */
.sac-touren__list {
	padding-bottom: var(--section-y);
}

/* Fallback / admin notice shown when the SAC Rossberg Tools plugin is inactive. */
.sac-notice {
	padding: var(--space-4);
	border: 0;
	border-left: 3px solid var(--c-accent);
	background: color-mix(in srgb, var(--c-accent) 8%, var(--c-surface));
	color: var(--c-text);
}

/* --------------------------------------------------------------------------
   Minimal legibility for the fetched dropnet output (no Bootstrap loaded).
   Everything scoped under .sac-touren__list so it can never leak site-wide.
   Deep, precise styling is deferred to the redesign phase.
   -------------------------------------------------------------------------- */
.sac-touren__list table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--fs-sm);
}

.sac-touren__list th,
.sac-touren__list td {
	padding: var(--space-3) var(--space-3);
	border-bottom: 1px solid var(--c-border);
	text-align: start;
	vertical-align: top;
}

.sac-touren__list th {
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-text-muted);
	border-bottom-color: var(--c-heading);
}

.sac-touren__list tbody tr {
	transition: background-color var(--dur-1) ease;
}

.sac-touren__list tbody tr:hover {
	background: var(--c-section);
}

.sac-touren__list a {
	color: var(--c-link);
}

.sac-touren__list a:hover,
.sac-touren__list a:focus {
	color: var(--c-link-hover);
}

/* Status dots and inline icons must stay inline (base img rule is display:block). */
.sac-touren__list img {
	display: inline;
	vertical-align: middle;
}

/* Filter form controls reuse the theme's field look. */
.sac-touren__list form {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	align-items: center;
	margin-bottom: var(--space-6);
}

.sac-touren__list select,
.sac-touren__list input {
	min-height: 3rem;
	padding: var(--space-2) var(--space-4);
	background: var(--c-surface);
	color: var(--c-heading);
	border: 1px solid var(--c-border-strong);
	border-radius: 999px;
	font: inherit;
}

.sac-touren__list :is(select, input):focus {
	border-color: var(--c-accent);
	box-shadow: 0 0 0 3px var(--c-accent-soft);
	outline: 0;
}
