/* Priority 15 (WP-D): lead paths. Forms created by scripts/prio-15-lead-paths.php; markup in inc/prio-15-lead-paths.php.
   Text colours are set explicitly because the Customizer forces `.single-page-content p { color: black }`. */

/* ---------------------------------------------------------------- CF7 form layout (all three forms) */
.wpcf7 .tc-p15-form .tc-p15-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.wpcf7 .tc-p15-form .tc-p15-full { grid-column: 1 / -1; }
.wpcf7 .tc-p15-form p { margin: 0 0 14px; color: #3a352d !important; }
.wpcf7 .tc-p15-form label,
.tc-contact-form .wpcf7-form .tc-p15-form label { display: block; font-size: 15px; font-weight: 600; color: #3a352d; }
.wpcf7 .tc-p15-form .tc-req { color: #9a463a; }
.wpcf7 .tc-p15-form .tc-hint { font-weight: 400; font-size: 14px; color: #6f6a5e; }
.wpcf7 .tc-p15-form .tc-p15-legend { display: block; font-size: 15px; font-weight: 600; color: #3a352d; margin: 0 0 4px; }
.wpcf7 .tc-p15-form input[type="text"],
.wpcf7 .tc-p15-form input[type="email"],
.wpcf7 .tc-p15-form input[type="tel"],
.wpcf7 .tc-p15-form input[type="number"],
.wpcf7 .tc-p15-form input[type="date"],
.wpcf7 .tc-p15-form select,
.wpcf7 .tc-p15-form textarea {
	display: block; box-sizing: border-box; width: 100%; min-height: 48px; margin: 6px 0 0;
	padding: 10px 14px; border: 1px solid #cfc8b6; border-radius: 10px; background: #fff;
	color: #1b1b1b; font-size: 16px; font-family: inherit; line-height: 1.4;
}
.wpcf7 .tc-p15-form textarea { min-height: 110px; resize: vertical; }
.wpcf7 .tc-p15-form input:focus,
.wpcf7 .tc-p15-form select:focus,
.wpcf7 .tc-p15-form textarea:focus { outline: 2px solid #d5a300; outline-offset: 1px; border-color: #d5a300; }
.wpcf7 .tc-p15-form .wpcf7-list-item { display: block; margin: 6px 0 0; }
.wpcf7 .tc-p15-form .wpcf7-list-item label { display: inline; font-weight: 400; font-size: 16px; }
.wpcf7 .tc-p15-form .wpcf7-list-item input { width: 20px; height: 20px; margin: 0 8px 0 0; vertical-align: -4px; }
.wpcf7 .tc-p15-form input[type="submit"],
.wpcf7 .tc-p15-form .wpcf7-submit {
	background: #d5a300; color: #18140f; border: 0; border-radius: 8px; height: auto; line-height: 1.2;
	padding: 15px 30px; font-size: 17px; font-weight: 700; cursor: pointer;
}
.wpcf7 .tc-p15-form input[type="submit"]:hover,
.wpcf7 .tc-p15-form .wpcf7-submit:hover { background: #c19500; color: #18140f; }
.wpcf7 .tc-p15-form .wpcf7-submit:disabled { opacity: .55; cursor: not-allowed; }

/* ---------------------------------------------------------------- page sections (rental, multi-day) */
.tc-p15-sec {
	margin: 36px 0; padding: 28px; border: 1px solid #e3dccb; border-radius: 16px; background: #fbf8f1;
	scroll-margin-top: 110px;
}
.tc-p15-sec h2 { margin: 0 0 8px; font-size: 30px; line-height: 1.2; color: #18140f; }
.tc-p15-sec .tc-p15-kicker { margin: 0 0 6px; font-size: 14px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #9a7400 !important; }
.tc-p15-sec .tc-p15-lead { margin: 0 0 18px; font-size: 18px; line-height: 1.5; color: #262626 !important; }
.tc-p15-sec .tc-p15-alt { margin: 12px 0 0; font-size: 16px; color: #3a352d !important; }
.tc-p15-sec .tc-p15-alt a { color: #18140f; text-decoration: underline; text-decoration-color: #d5a300; text-underline-offset: 2px; }
.tc-p15-form-box { background: #fff; border: 1px solid #e3dccb; border-radius: 12px; padding: 22px 22px 8px; }

.tc-p15-facts { margin: 0 0 18px; padding: 0; list-style: none; }
.tc-p15-facts li { margin: 0 0 6px; padding-left: 22px; position: relative; font-size: 17px; line-height: 1.5; color: #262626; }
.tc-p15-facts li::before { content: "\2713"; position: absolute; left: 0; color: #2f6b3a; font-weight: 700; }

.tc-p15-cars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.tc-p15-car {
	display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 2px solid #e3dccb; border-radius: 12px;
	background: #fff; color: #18140f !important; text-decoration: none !important;
}
.tc-p15-car strong { font-size: 17px; }
.tc-p15-car span { font-size: 16px; color: #5f5a4e; }
.tc-p15-car:hover, .tc-p15-car:focus { border-color: #d5a300; }
.tc-p15-car.is-picked { border-color: #d5a300; box-shadow: 0 0 0 3px rgba(213, 163, 0, .18); }

/* ---------------------------------------------------------------- contact page */
.tc-contact-form .tc-p15-plan .wpcf7-form .wpcf7-submit { width: auto; background: #d5a300; color: #18140f; }
.tc-contact-form .tc-p15-plan .wpcf7-form .wpcf7-submit:hover { background: #c19500; }

/* ---------------------------------------------------------------- blog card (layout from prio-09 .tc-mbook) */
.tc-p15-card .tc-mbook-media img.tc-p15-card-img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0 !important; }
.single-blog-content .tc-p15-card p,
.single-content .tc-p15-card p { color: #262626; }

@media (max-width: 900px) {
	.wpcf7 .tc-p15-form .tc-p15-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.tc-p15-sec { padding: 18px; margin: 28px 0; }
	.tc-p15-sec h2 { font-size: 25px; }
	.tc-p15-form-box { padding: 16px 14px 4px; }
	.tc-p15-cars { grid-template-columns: 1fr; }
}
