/**
 * Child Pages Widget Styles
 */

.child-pages-wrapper {
	width: 100%;
}

.child-pages-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.child-page-item {
	display: flex;
	flex-direction: column;
}

.child-page-title {
	margin: 0 0 15px 0;
	padding: 0;
	font-size: 1.5em;
	font-weight: 600;
	line-height: 1.3;
}

a.child-page-image {
	display: block;
	margin-bottom: 15px;
	text-decoration: none;
}

.child-page-image img {
	width: 100%;
	height: auto;
	display: block;
	transition: opacity 0.3s ease;
}

a.child-page-image:hover img {
	opacity: 0.85;
}

.child-page-button-wrapper {
	margin-top: auto;
}

.child-page-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
}

.child-page-button:hover {
	text-decoration: none;
}

.child-page-button svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	transition: transform 0.3s ease, fill 0.3s ease;
}

.child-page-button:hover svg {
	transform: translateX(4px);
}

/* Separator */
.child-page-separator-wrapper {
	grid-column: 1 / -1;
	width: 100%;
}

.child-page-separator {
	display: inline-block;
	border-top-style: solid;
	border-top-width: 1px;
	border-top-color: #dddddd;
}
