/* =========================
   Dream Tour Cruise Guides
========================= */

.cruise-guide-page .dreamtour-info-main {
	min-width: 0;
}

.cruise-guide-board-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 20px;
}

.cruise-guide-board-card {
	min-width: 0;
	padding-bottom: 22px;
	border-bottom: 1px solid #dbe1e8;
}

.cruise-guide-board-image {
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	border-radius: 14px;
	background: #eaf2fb;
}

.cruise-guide-board-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.cruise-guide-board-card:hover .cruise-guide-board-image img {
	transform: scale(1.035);
}

.cruise-guide-board-placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at 75% 22%, rgba(255, 255, 255, 0.9), transparent 22%),
		linear-gradient(135deg, #dbeafe, #eef6ff);
	color: #1565d8;
}

.cruise-guide-board-placeholder svg {
	width: 44px;
	height: 44px;
	stroke-width: 1.5;
}

.cruise-guide-board-body {
	padding-top: 14px;
}

.cruise-guide-board-body h2 {
	margin: 0;
	font-size: 18px;
	line-height: 1.45;
}

.cruise-guide-board-body h2 a {
	color: #172033;
	text-decoration: none;
	transition: color 0.2s ease;
}

.cruise-guide-board-card:hover h2 a {
	color: #1565d8;
}

.cruise-guide-board-meta {
	display: flex;
	gap: 6px;
	align-items: center;
	margin-top: 11px;
	color: #64748b;
	font-size: 12px;
}

.cruise-guide-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 22px;
	padding: 26px 28px;
	border: 1px solid #dbe4ee;
	border-radius: 18px;
	background:
		linear-gradient(135deg, rgba(21, 101, 216, 0.08), rgba(255, 255, 255, 0.96) 58%),
		#fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.cruise-guide-eyebrow,
.cruise-guide-related-heading > span {
	display: block;
	margin-bottom: 7px;
	color: #1565d8;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.cruise-guide-heading h1 {
	margin: 0;
	color: #0f172a;
	font-size: 30px;
	line-height: 1.25;
}

.cruise-guide-heading p {
	max-width: 620px;
	margin: 9px 0 0;
	color: #64748b;
	font-size: 14px;
	line-height: 1.7;
}

.cruise-guide-search {
	position: relative;
	flex: 0 0 250px;
}

.cruise-guide-search input {
	width: 100%;
	height: 44px;
	padding: 0 44px 0 15px;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	background: #fff;
	color: #0f172a;
	font-size: 14px;
	outline: none;
}

.cruise-guide-search input:focus {
	border-color: #1565d8;
	box-shadow: 0 0 0 3px rgba(21, 101, 216, 0.1);
}

.cruise-guide-search button {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: #64748b;
	cursor: pointer;
}

.cruise-guide-search button svg {
	width: 18px;
	height: 18px;
}

.cruise-guide-filters {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
	padding-bottom: 3px;
	overflow-x: auto;
	scrollbar-width: none;
}

.cruise-guide-filters::-webkit-scrollbar {
	display: none;
}

.cruise-guide-filters a {
	flex: 0 0 auto;
	padding: 9px 15px;
	border: 1px solid #dbe4ee;
	border-radius: 999px;
	background: #fff;
	color: #475569;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: 0.2s ease;
}

.cruise-guide-filters a:hover {
	border-color: #93c5fd;
	color: #1565d8;
}

.cruise-guide-filters a.is-active {
	border-color: #0f172a;
	background: #0f172a;
	color: #fff;
}

.cruise-guide-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.cruise-guide-card {
	overflow: hidden;
	border: 1px solid #dfe6ee;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cruise-guide-card:hover {
	transform: translateY(-3px);
	border-color: #bfdbfe;
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
}

.cruise-guide-card-image {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #eaf2fb;
}

.cruise-guide-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.cruise-guide-card:hover .cruise-guide-card-image img {
	transform: scale(1.035);
}

.cruise-guide-card-placeholder,
.cruise-guide-related-placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at 75% 22%, rgba(255, 255, 255, 0.9), transparent 22%),
		linear-gradient(135deg, #dbeafe, #eef6ff);
	color: #1565d8;
}

.cruise-guide-card-placeholder svg {
	width: 46px;
	height: 46px;
	stroke-width: 1.5;
}

.cruise-guide-card-body {
	padding: 21px 22px 19px;
}

.cruise-guide-category {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border-radius: 999px;
	background: #eaf2ff;
	color: #1557b0;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.cruise-guide-card h2 {
	margin: 12px 0 8px;
	font-size: 20px;
	line-height: 1.45;
}

.cruise-guide-card h2 a {
	color: #0f172a;
	text-decoration: none;
}

.cruise-guide-card-body > p {
	display: -webkit-box;
	min-height: 48px;
	margin: 0;
	overflow: hidden;
	color: #64748b;
	font-size: 14px;
	line-height: 1.7;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.cruise-guide-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
	padding-top: 15px;
	border-top: 1px solid #edf1f5;
}

.cruise-guide-card-footer time {
	color: #94a3b8;
	font-size: 12px;
}

.cruise-guide-read-more {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #1565d8;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.cruise-guide-read-more svg {
	width: 14px;
	height: 14px;
}

.cruise-guide-empty {
	padding: 80px 24px;
	border: 1px solid #dfe6ee;
	border-radius: 18px;
	background: #fff;
	text-align: center;
}

.cruise-guide-empty > svg {
	width: 44px;
	height: 44px;
	color: #94a3b8;
}

.cruise-guide-empty h2 {
	margin: 15px 0 7px;
	color: #0f172a;
	font-size: 20px;
}

.cruise-guide-empty p {
	margin: 0;
	color: #94a3b8;
}

.cruise-guide-page .dreamtour-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 32px;
}

.cruise-guide-page .dreamtour-pagination .page-numbers {
	display: inline-flex;
	min-width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	padding: 0 11px;
	border: 1px solid #dbe4ee;
	border-radius: 9px;
	background: #fff;
	color: #475569;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.cruise-guide-page .dreamtour-pagination .current {
	border-color: #0f172a;
	background: #0f172a;
	color: #fff;
}

/* Single guide */
.cruise-guide-article {
	overflow: hidden;
	border: 1px solid #dfe6ee;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.cruise-guide-article-header {
	padding: 36px 42px 30px;
	border-bottom: 1px solid #e7edf3;
}

.cruise-guide-article-header h1 {
	margin: 0;
	color: #0f172a;
	font-size: 32px;
	line-height: 1.35;
	word-break: keep-all;
}

.cruise-guide-article-summary {
	margin: 13px 0 0;
	color: #64748b;
	font-size: 16px;
	line-height: 1.75;
}

.cruise-guide-article-meta {
	display: flex;
	gap: 20px;
	margin-top: 18px;
	color: #94a3b8;
	font-size: 13px;
}

.cruise-guide-article-content {
	padding: 44px 42px 52px;
	color: #334155;
	font-size: 16px;
	line-height: 1.9;
	word-break: keep-all;
}

.cruise-guide-article-content > :first-child {
	margin-top: 0;
}

.cruise-guide-article-content > :last-child {
	margin-bottom: 0;
}

.cruise-guide-article-content h2,
.cruise-guide-article-content h3,
.cruise-guide-article-content h4 {
	margin: 1.8em 0 0.65em;
	color: #0f172a;
	line-height: 1.4;
}

.cruise-guide-article-content h2 {
	padding-bottom: 10px;
	border-bottom: 1px solid #e2e8f0;
	font-size: 25px;
}

.cruise-guide-article-content h3 {
	font-size: 21px;
}

.cruise-guide-article-content p,
.cruise-guide-article-content ul,
.cruise-guide-article-content ol,
.cruise-guide-article-content figure {
	margin: 0 0 1.25em;
}

.cruise-guide-article-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.cruise-guide-article-content blockquote {
	margin: 1.5em 0;
	padding: 18px 22px;
	border-left: 4px solid #1565d8;
	border-radius: 0 10px 10px 0;
	background: #f5f9ff;
	color: #334155;
}

.cruise-guide-post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid #e2e8f0;
}

.cruise-guide-post-nav a {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 6px;
	padding: 20px 28px;
	color: #334155;
	text-decoration: none;
}

.cruise-guide-post-nav a + a {
	border-left: 1px solid #e2e8f0;
}

.cruise-guide-post-nav a.is-next {
	text-align: right;
}

.cruise-guide-post-nav span {
	color: #94a3b8;
	font-size: 12px;
}

.cruise-guide-post-nav strong {
	overflow: hidden;
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cruise-guide-back-wrap {
	padding: 25px;
	border-top: 1px solid #e2e8f0;
	text-align: center;
}

.cruise-guide-back {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 11px 24px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	color: #334155;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.cruise-guide-back svg {
	width: 16px;
	height: 16px;
}

.cruise-guide-related {
	margin-top: 34px;
}

.cruise-guide-related-heading h2 {
	margin: 0 0 17px;
	color: #0f172a;
	font-size: 23px;
}

.cruise-guide-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 15px;
}

.cruise-guide-related-card {
	overflow: hidden;
	border: 1px solid #dfe6ee;
	border-radius: 14px;
	background: #fff;
	color: #0f172a;
	text-decoration: none;
	box-shadow: 0 5px 18px rgba(15, 23, 42, 0.035);
}

.cruise-guide-related-card > img,
.cruise-guide-related-placeholder {
	display: flex;
	width: 100%;
	height: 120px;
	object-fit: cover;
}

.cruise-guide-related-placeholder svg {
	width: 34px;
	height: 34px;
}

.cruise-guide-related-title {
	display: block;
	padding: 14px 15px 16px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.45;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 1100px) {
	.cruise-guide-board-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cruise-guide-heading {
		align-items: stretch;
		flex-direction: column;
	}

	.cruise-guide-search {
		flex-basis: auto;
		width: 100%;
		max-width: 420px;
	}
}

@media (max-width: 768px) {
	.cruise-guide-heading {
		padding: 22px 20px;
		border-radius: 14px;
	}

	.cruise-guide-heading h1 {
		font-size: 25px;
	}

	.cruise-guide-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.cruise-guide-card h2 {
		font-size: 18px;
	}

	.cruise-guide-article {
		border-radius: 14px;
	}

	.cruise-guide-article-header {
		padding: 27px 20px 23px;
	}

	.cruise-guide-article-header h1 {
		font-size: 25px;
	}

	.cruise-guide-article-summary {
		font-size: 14px;
	}

	.cruise-guide-article-content {
		padding: 30px 20px 38px;
		font-size: 15px;
		word-break: normal;
	}

	.cruise-guide-article-content h2 {
		font-size: 21px;
	}

	.cruise-guide-post-nav {
		grid-template-columns: 1fr;
	}

	.cruise-guide-post-nav a + a {
		border-top: 1px solid #e2e8f0;
		border-left: 0;
	}

	.cruise-guide-related-grid {
		grid-template-columns: 1fr;
	}

	.cruise-guide-related-card {
		display: grid;
		grid-template-columns: 110px minmax(0, 1fr);
		align-items: center;
	}

	.cruise-guide-related-card > img,
	.cruise-guide-related-placeholder {
		height: 90px;
	}
}

@media (max-width: 560px) {
	.cruise-guide-board-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.cruise-guide-board-image {
		aspect-ratio: 16 / 10;
	}
}
