/* 
   Jet Premium Cards Elementor Widget
   Brand: Boutique Travel Agency
   Colors: B&W, Jungle Green Accent
*/

.jpc-e6e7-wrapper {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #1a1a1a;
	line-height: 1.6;
}

/* Card Visual Separation & Premium Styling */
.jpc-e6e7-card {
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
	padding: 40px;
	overflow: hidden;
	border: 1px solid #eaeaec;
	border-top: 4px solid #1b4030; /* Jungle Green Accent Top Border */
	margin-bottom: 24px;
}

/* Titles */
.jpc-e6e7-card-title {
	font-family: "Georgia", "Times New Roman", serif;
	font-size: 1.75rem;
	font-weight: 400;
	letter-spacing: -0.02em;
	margin-top: 0;
	margin-bottom: 10px; /* Consistent 10px spacing below title */
	color: #1b4030;
}

.jpc-e6e7-text-center {
	text-align: center;
}

/* Content Text Styling (Standardized typography, justified) */
/* Apply explicitly to all possible children of content areas */
.jpc-e6e7-content,
.jpc-e6e7-content p,
.jpc-e6e7-content div,
.jpc-e6e7-content span,
.jpc-e6e7-list-style-inc ul li,
.jpc-e6e7-list-style-exc ul li,
.jpc-e6e7-p-obs,
.jpc-e6e7-table td {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.95rem; /* Standardized size */
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: normal;
	color: #4a4a4a;
	text-align: justify; /* Justified text everywhere */
}

/* Ensure no inherited styles override the table font size */
.jpc-e6e7-table table {
	font-size: 0.95rem;
}

.jpc-e6e7-content p {
	margin-bottom: 16px;
}
.jpc-e6e7-content p:last-child {
	margin-bottom: 0;
}

/* Grids */
.jpc-e6e7-grid {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

/* Text + Image: 30% Image (Left) / 70% Text (Right) */
.jpc-e6e7-grid-30-70 .jpc-e6e7-col-img {
	flex: 0 0 30%;
	max-width: 30%;
}

.jpc-e6e7-grid-30-70 .jpc-e6e7-col-text {
	flex: 0 0 calc(70% - 40px);
	max-width: calc(70% - 40px);
	display: flex;
	flex-direction: column;
}

.jpc-e6e7-grid-split {
	align-items: flex-start;
}

.jpc-e6e7-col-img img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	object-fit: cover;
	display: block;
}

.jpc-e6e7-col-text,
.jpc-e6e7-col {
	flex: 1;
}

/* Includes & Excludes Lists */
.jpc-e6e7-list-style-inc ul,
.jpc-e6e7-list-style-exc ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.jpc-e6e7-list-style-inc ul li,
.jpc-e6e7-list-style-exc ul li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 16px;
	color: #4a4a4a;
}

/* Custom Checkmark */
.jpc-e6e7-list-style-inc ul li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 2px;
	font-size: 12px;
	font-weight: bold;
	color: #1b4030;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #1b4030;
	border-radius: 50%;
}

/* Custom X Mark */
.jpc-e6e7-list-style-exc ul li::before {
	content: "✕";
	position: absolute;
	left: 0;
	top: 2px;
	font-size: 10px;
	color: #a0a0a0;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #d0d0d0;
	border-radius: 50%;
}

/* Route Map Frame (Card is 100%, Image is 70% centered) */
.jpc-e6e7-type-map {
	/* The card padding handles the container bounds */
	padding: 40px;
}
.jpc-e6e7-map-frame {
	width: 70%;
	margin: 0 auto; /* Centers the 70% width map leaving 15% left/right */
}
.jpc-e6e7-map-frame img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	display: block;
}

/* Price List */
.jpc-e6e7-price-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.jpc-e6e7-price-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	background-color: #fbfbfb;
	border-radius: 8px;
	border: 1px solid #eee;
	transition: background-color 0.3s ease;
}

.jpc-e6e7-price-row:hover {
	background-color: #ffffff;
	box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.jpc-e6e7-p-meta {
	display: flex;
	flex-direction: column;
}

.jpc-e6e7-p-season {
	font-size: 1.15rem;
	color: #1a1a1a;
	text-align: left;
}

.jpc-e6e7-p-dates {
	font-size: 0.9rem;
	color: #777;
	margin-top: 4px;
	text-align: left;
}

.jpc-e6e7-p-details {
	text-align: right;
}

.jpc-e6e7-price-val {
	font-size: 1.5rem;
	font-weight: 600;
	color: #1b4030;
	font-family: "Georgia", "Times New Roman", serif;
	text-align: right;
}

.jpc-e6e7-p-obs {
	color: #777;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 4px;
	text-align: right; /* Override justify for price observation */
}

/* Table Style (JetEngine Table Output) */
.jpc-e6e7-table-wrapper {
	overflow-x: auto;
}

.jpc-e6e7-table table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.jpc-e6e7-table th, 
.jpc-e6e7-table td {
	padding: 16px 20px;
	border-bottom: 1px solid #eaeaea;
}

.jpc-e6e7-table th {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 600;
	color: #1b4030;
	width: 35%;
	background-color: #fcfcfc;
	font-size: 0.95rem;
	text-align: left;
}

.jpc-e6e7-table tr:last-child th,
.jpc-e6e7-table tr:last-child td {
	border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
	.jpc-e6e7-card {
		padding: 24px;
	}
	.jpc-e6e7-grid {
		flex-direction: column;
		gap: 24px;
	}
	/* Stack 30/70 vertically: Image above Text */
	.jpc-e6e7-grid-30-70 {
		flex-direction: column;
	}
	.jpc-e6e7-grid-30-70 .jpc-e6e7-col-img,
	.jpc-e6e7-grid-30-70 .jpc-e6e7-col-text {
		flex: 1 1 100%;
		max-width: 100%;
	}
	/* Map frame full width on mobile */
	.jpc-e6e7-map-frame {
		width: 100%;
	}
	.jpc-e6e7-price-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.jpc-e6e7-p-details,
	.jpc-e6e7-p-obs {
		text-align: left; /* Left align on mobile for prices */
	}
	.jpc-e6e7-price-val {
		text-align: left;
	}
	.jpc-e6e7-table th, 
	.jpc-e6e7-table td {
		padding: 12px;
		display: block;
		width: 100%;
	}
	.jpc-e6e7-table tr {
		display: block;
		margin-bottom: 16px;
		border: 1px solid #eaeaea;
		border-radius: 8px;
		overflow: hidden;
	}
	.jpc-e6e7-table th {
		border-bottom: 1px solid #eaeaea;
	}
	.jpc-e6e7-table td {
		border-bottom: none;
	}
}
