/* 2027 Vision Board & Goal Planner: landing page, thank-you page and the planner cards on /free-tools/.
   Builds on coaching.css (hero, pillars, lists, form card). Colours and fonts follow the site palette. */

/* "Look inside" page previews */
.sdi-vp-inside {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}
.sdi-vp-inside figure {
	margin: 0;
	background: #fff;
	border: 1px solid rgba(185, 139, 46, .22);
	border-radius: 18px;
	padding: 12px 12px 16px;
	box-shadow: 0 14px 34px -22px rgba(74, 16, 29, .45);
	transition: transform .35s ease, box-shadow .35s ease;
}
.sdi-vp-inside figure:hover {
	transform: translateY(-6px);
	box-shadow: 0 26px 48px -24px rgba(74, 16, 29, .55);
}
.sdi-vp-inside img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: top center;
	border-radius: 10px;
	border: 1px solid #F5EDE1;
}
.sdi-vp-inside figcaption {
	margin: 14px 4px 0;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	color: #6B1E2E;
	text-align: center;
}
.sdi-vp-inside figcaption small {
	display: block;
	margin-top: 4px;
	font-family: 'Jost', sans-serif;
	font-size: 13px;
	font-weight: 400;
	color: #7A5A3A;
}

/* Full contents list under the previews */
.sdi-vp-contents {
	max-width: 980px;
	margin: 46px auto 0;
}
.sdi-vp-contents h3 {
	text-align: center;
	margin: 0 0 18px;
}

/* Gentle reveal for preview cards (only when JS-free CSS can do it) */
@media (prefers-reduced-motion: no-preference) {
	.sdi-vp-inside figure { animation: sdi-vp-rise .7s ease both; }
	.sdi-vp-inside figure:nth-child(2) { animation-delay: .08s; }
	.sdi-vp-inside figure:nth-child(3) { animation-delay: .16s; }
	.sdi-vp-inside figure:nth-child(4) { animation-delay: .24s; }
}
@keyframes sdi-vp-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

/* Download section: small preview above the form copy */
.sdi-vp-book-img {
	margin: 0 0 22px;
	max-width: 340px;
}
.sdi-vp-book-img img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 18px;
}

/* Closing call to action */
.sdi-vp-cta .sdi-head { margin-bottom: 0; }
.sdi-vp-cta .wp-block-buttons { justify-content: center; margin-top: 26px; }

/* Thank-you page: flipbook preview frame */
.sdi-vp-flip {
	max-width: 1040px;
	margin: 34px auto 0;
	background: #fff;
	border: 1px solid rgba(185, 139, 46, .22);
	border-radius: 22px;
	padding: 14px;
	box-shadow: 0 24px 50px -30px rgba(74, 16, 29, .5);
}
.sdi-vp-ty .sdi-co-hero .sdi-co-facts li strong { white-space: nowrap; }

/* /free-tools/: free printable planners */
.sdi-vp-planners {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 22px;
	margin: 22px 0 8px;
}
.sdi-vp-planner {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 18px;
	align-items: center;
	padding: 16px;
	background: #fff;
	border: 1px solid rgba(185, 139, 46, .25);
	border-radius: 18px;
	text-decoration: none !important;
	color: #4A3B3E;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.sdi-vp-planner:hover {
	transform: translateY(-4px);
	border-color: #B98B2E;
	box-shadow: 0 20px 40px -26px rgba(74, 16, 29, .55);
}
.sdi-vp-planner img {
	width: 120px;
	height: 120px;
	object-fit: cover;
	object-position: center;
	border-radius: 12px;
	background: #F5EDE1;
}
.sdi-vp-planner strong {
	display: block;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.15;
	color: #6B1E2E;
}
.sdi-vp-planner small {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.5;
	color: #7A5A3A;
}
.sdi-vp-planner em {
	display: inline-block;
	margin-top: 10px;
	font-style: normal;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #B98B2E;
}

@media (max-width: 1024px) {
	.sdi-vp-inside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.sdi-vp-planners { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.sdi-vp-inside { gap: 14px; }
	.sdi-vp-inside figure { padding: 8px 8px 12px; border-radius: 14px; }
	.sdi-vp-inside figcaption { font-size: 17px; }
	.sdi-vp-planner { grid-template-columns: 88px 1fr; gap: 14px; }
	.sdi-vp-planner img { width: 88px; height: 88px; }
	.sdi-vp-planner strong { font-size: 19px; }
}
