/**
 * Single Piedzīvojuma lapas mobilie labojumi.
 * Jauns fails — neaiztiek style.css. Ielādējas pēc tā, override ar !important
 * (esošie datumu noteikumi arī lieto !important).
 */

/* ============================================================
   1. Datumu kartītes mobilajā: 2 kompaktas kolonnas
      (bija 1 pilna platuma — izskatījās platas/neveiklas)
   ============================================================ */
@media (max-width: 600px) {
	.adventures-single-header .info-frame .dates {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 16px 10px !important;
	}

	.adventures-single-header .info-frame .dates li {
		width: auto !important;
		max-width: none !important;
		padding: 10px 10px 0 10px !important;
	}

	/* Garie statusi ("Vēl 10 SUP dēļi") aplaužas, nevis izspiež platumu */
	.adventures-single-header .info-frame .dates .seats-info {
		white-space: normal !important;
	}

	.adventures-single-header .info-frame .dates .seats,
	.adventures-single-header .info-frame .dates .no-seats {
		height: auto !important;
		min-height: 20px !important;
		line-height: 1.25 !important;
		padding: 2px 8px !important;
		white-space: normal !important;
	}

	/* Dzimumu-dalītajām kartītēm vajag vairāk vietas — paliek pilnā platumā */
	.adventures-single-header .info-frame .dates li:has(.gender) {
		grid-column: 1 / -1 !important;
	}
}

/* ============================================================
   2. Kartes maršruta teksts (.map-transport) iet ārpus ekrāna:
      "ĶEMERU TĪRELIS (AUTOSSTĀVVIETA) ▶ ..." bija white-space:nowrap
      + position:absolute → horizontāls pārplūdums. Mobilajā ļaujam
      aplauzties un plūst normāli zem kartes.
   ============================================================ */
@media (max-width: 768px) {
	.adventures-section .map-transport {
		position: static;
		bottom: auto;
		height: auto;
		flex-wrap: wrap;
		margin: 12px 0 0 0;
	}

	.adventures-section .map-transport .transport-text {
		white-space: normal;
	}
}
