/* iPuntaCana editorial / SEO guides */

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

.ipc-guide-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-width: 0;
	border: 1px solid #e0e8ea;
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(7,59,76,.055);
	transition: transform .2s ease, box-shadow .2s ease;
}

.ipc-guide-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 17px 42px rgba(7,59,76,.09);
}

.ipc-guide-card__media {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	aspect-ratio: 16 / 7.4;
	overflow: hidden;
	padding: 22px;
	background: linear-gradient(135deg, #073b4c 0%, #0b789f 70%, #16a6a6 100%);
	color: #fff !important;
	text-decoration: none !important;
}

.ipc-guide-card__media::before,
.ipc-guide-single__editorial-cover::before {
	content: '';
	position: absolute;
	width: 260px;
	height: 260px;
	right: -70px;
	top: -110px;
	border: 1px solid rgba(255,255,255,.20);
	border-radius: 50%;
	box-shadow:
		0 0 0 42px rgba(255,255,255,.045),
		0 0 0 84px rgba(255,255,255,.025);
}

.ipc-guide-card__media::after,
.ipc-guide-single__editorial-cover::after {
	content: '';
	position: absolute;
	inset: auto -12% -48% 30%;
	height: 72%;
	border-radius: 50%;
	background: rgba(255,255,255,.055);
	transform: rotate(-9deg);
}

.ipc-guide-card__media--zonas-punta-cana,
.ipc-guide-single__editorial-cover--zonas-punta-cana {
	background: linear-gradient(135deg, #0b789f 0%, #16a6a6 63%, #d7b56d 145%);
}

.ipc-guide-cover__brand,
.ipc-guide-cover__type,
.ipc-guide-cover__line {
	position: relative;
	z-index: 2;
}

.ipc-guide-cover__brand {
	font-size: 12px;
	font-weight: 850;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255,255,255,.90);
}

.ipc-guide-cover__type {
	max-width: 70%;
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 800;
	line-height: .98;
	letter-spacing: -.035em;
	color: #fff;
}

.ipc-guide-cover__line {
	position: absolute;
	left: 22px;
	bottom: 18px;
	width: 44px;
	height: 3px;
	border-radius: 999px;
	background: #d7b56d;
}

.ipc-guide-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px;
}

.ipc-guide-card__category {
	margin-bottom: 9px;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: #0b789f;
}

.ipc-guide-card h3 {
	margin: 0;
	font-size: 23px;
	line-height: 1.16;
	letter-spacing: -.027em;
	color: #102f38;
}

.ipc-guide-card h3 a {
	color: inherit !important;
	text-decoration: none !important;
}

.ipc-guide-card p {
	margin: 12px 0 20px;
	font-size: 14px;
	line-height: 1.6;
	color: #687d84;
}

.ipc-guide-card__link {
	margin-top: auto;
	font-size: 13px;
	font-weight: 800;
	color: #0b789f !important;
	text-decoration: none !important;
}

.ipc-guides-hero {
	padding: 72px 0 64px;
	background: linear-gradient(135deg, #eef7f8, #fff 68%);
	border-bottom: 1px solid #e4ecee;
}

.ipc-guides-hero h1 {
	max-width: 900px;
	margin: 10px 0 18px;
	font-size: clamp(44px, 6vw, 72px);
	line-height: .98;
	letter-spacing: -.045em;
	color: #073b4c;
}

.ipc-guides-hero p {
	max-width: 760px;
	margin: 0;
	font-size: 18px;
	line-height: 1.65;
	color: #61767e;
}

.ipc-guides-listing {
	padding-top: 58px;
	padding-bottom: 76px;
}

.ipc-guides-pagination {
	margin-top: 42px;
}

.ipc-guides-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ipc-guides-pagination a,
.ipc-guides-pagination span {
	display: grid;
	place-items: center;
	min-width: 39px;
	height: 39px;
	padding: 0 11px;
	border: 1px solid #dae4e7;
	border-radius: 9px;
	background: #fff;
	color: #31535d;
	text-decoration: none;
	font-weight: 750;
}

.ipc-guides-pagination .current {
	border-color: #0b789f;
	background: #0b789f;
	color: #fff;
}

.ipc-guide-single {
	background: #fff;
	color: #17343e;
}

.ipc-guide-single__head {
	padding: 42px 0 31px;
}

.ipc-guide-single__head-inner {
	max-width: 1000px;
}

.ipc-guide-single__head h1 {
	max-width: 960px;
	margin: 10px 0 18px;
	font-size: clamp(42px, 5.7vw, 70px);
	line-height: 1;
	letter-spacing: -.045em;
	color: #073b4c;
}

.ipc-guide-single__lead {
	max-width: 820px;
	margin: 0;
	font-size: 19px;
	line-height: 1.62;
	color: #60767e;
}

.ipc-guide-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 20px;
	font-size: 12px;
	font-weight: 700;
	color: #829298;
}

.ipc-guide-single__editorial-cover {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	min-height: 250px;
	padding: 32px;
	border-radius: 18px;
	background: linear-gradient(135deg, #073b4c 0%, #0b789f 70%, #16a6a6 100%);
	color: #fff;
}

.ipc-guide-single__editorial-cover .ipc-guide-cover__type {
	max-width: 540px;
	font-size: clamp(34px, 5vw, 58px);
}

.ipc-guide-single__editorial-cover .ipc-guide-cover__line {
	left: 32px;
	bottom: 26px;
	width: 58px;
}

.ipc-guide-single__content-section {
	padding: 52px 0 74px;
}

.ipc-guide-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 760px) 300px;
	justify-content: center;
	gap: 60px;
	align-items: start;
}

.ipc-guide-single__content {
	min-width: 0;
	font-size: 17px;
	line-height: 1.8;
	color: #3e555e;
}

.ipc-guide-single__content h2 {
	margin: 43px 0 14px;
	font-size: 31px;
	line-height: 1.17;
	letter-spacing: -.025em;
	color: #123640;
}

.ipc-guide-single__content h3 {
	margin: 32px 0 12px;
	font-size: 23px;
	color: #173d47;
}

.ipc-guide-single__content p {
	margin: 0 0 21px;
}

.ipc-guide-single__content a {
	color: #0b789f;
}

.ipc-guide-single__aside {
	position: relative;
}

.ipc-guide-nav-card {
	position: sticky;
	top: 24px;
	padding: 23px;
	border: 1px solid #dce7e9;
	border-radius: 16px;
	background: #f6fafb;
}

.ipc-guide-nav-card h2 {
	margin: 8px 0 10px;
	font-size: 25px;
	line-height: 1.12;
	letter-spacing: -.025em;
	color: #073b4c;
}

.ipc-guide-nav-card p {
	margin: 0 0 17px;
	font-size: 14px;
	line-height: 1.55;
	color: #697e85;
}

.ipc-guide-nav-card a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 43px;
	padding: 0 14px;
	border-radius: 9px;
	background: #0b789f;
	color: #fff !important;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none !important;
}

.ipc-guide-disclaimer {
	margin-top: 45px;
	padding: 19px 20px;
	border: 1px solid #dce6e8;
	border-radius: 13px;
	background: #f8fafb;
	font-size: 13px;
	line-height: 1.55;
	color: #647980;
}

.ipc-guide-disclaimer strong {
	display: block;
	margin-bottom: 5px;
	color: #264b55;
}

.ipc-guide-disclaimer p {
	margin: 0;
}

.ipc-guide-related-projects {
	padding-top: 58px;
	padding-bottom: 66px;
}

.ipc-guide-more {
	padding-top: 36px;
	padding-bottom: 60px;
}

.ipc-guide-back {
	font-weight: 800;
	color: #0b789f !important;
	text-decoration: none !important;
}

.ipc-home-guides {
	border-top: 1px solid #edf2f3;
}

.ipc-project-guide-links {
	display: grid;
	gap: 10px;
}

.ipc-project-guide-link {
	display: block;
	padding: 14px 15px;
	border: 1px solid #e0e8ea;
	border-radius: 11px;
	background: #fafcfc;
	text-decoration: none !important;
}

.ipc-project-guide-link span {
	display: block;
	margin-bottom: 3px;
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: #0b789f;
}

.ipc-project-guide-link strong {
	display: block;
	font-size: 15px;
	line-height: 1.35;
	color: #17343e;
}

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

	.ipc-guide-single__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.ipc-guide-nav-card {
		position: static;
	}
}

@media (max-width: 650px) {
	.ipc-guide-grid {
		grid-template-columns: 1fr;
		gap: 17px;
	}

	.ipc-guide-card__media {
		aspect-ratio: 16 / 6.8;
		padding: 18px;
	}

	.ipc-guide-cover__type {
		font-size: 29px;
	}

	.ipc-guide-cover__line {
		left: 18px;
		bottom: 15px;
	}

	.ipc-guides-hero {
		padding: 48px 0 43px;
	}

	.ipc-guides-hero h1,
	.ipc-guide-single__head h1 {
		font-size: 43px;
	}

	.ipc-guides-hero p,
	.ipc-guide-single__lead {
		font-size: 17px;
	}

	.ipc-guide-single__head {
		padding-top: 27px;
	}

	.ipc-guide-single__editorial-cover {
		min-height: 190px;
		padding: 23px;
		border-radius: 13px;
	}

	.ipc-guide-single__editorial-cover .ipc-guide-cover__type {
		max-width: 82%;
		font-size: 35px;
	}

	.ipc-guide-single__editorial-cover .ipc-guide-cover__line {
		left: 23px;
		bottom: 19px;
	}

	.ipc-guide-single__content-section {
		padding-top: 35px;
	}

	.ipc-guide-single__content {
		font-size: 16px;
	}

	.ipc-guide-single__content h2 {
		font-size: 27px;
	}
}
