/* CC Child Pages — theme-owned styles (consideradopt) */

/* Landing page 3-column cards */
#child-pages {
	width: 100%;
	padding-top: 80px;
	margin: auto;
	box-sizing: border-box;
}

#child-pages .ccchildpages,
#child-pages .ccchildpages.cclegacy,
#child-pages .threecol {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: flex-start;
	gap: 40px 5.2%;
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0;
	float: none !important;
	box-sizing: border-box;
}

#child-pages .ccchildpage,
#child-pages .simple .ccchildpage,
#child-pages .threecol .ccchildpage {
	box-sizing: border-box;
	width: calc((100% - 10.4%) / 3) !important;
	float: none !important;
	display: flex !important;
	flex-direction: column;
	margin: 0 !important;
	padding: 0;
	background: transparent;
	box-shadow: 1px 1px 1px 1px #e2e2e2;
	border-radius: 0;
}

#child-pages .cc-child-pages-thumb,
#child-pages .ccchildpage img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 200px;
	object-fit: cover;
	margin: 0;
	padding: 0;
	border: 0;
}

#child-pages .cell-text-block {
	flex: 0 0 auto;
	padding-bottom: 40px;
}

#child-pages .ccchildpage-title,
#child-pages h3.ccchildpage-title {
	margin: unset;
	padding: 25px 40px 0;
	line-height: 1.2;
	color: rgb(41, 163, 179);
	text-transform: uppercase;
	font-weight: 600;
	font-size: 16px;
}

#child-pages .ccchildpage-title:after {
	content: "";
	margin-top: 12px;
	margin-bottom: 8px;
	padding: 0;
	display: table;
	border-bottom: 1px solid rgb(247, 217, 220);
	width: 100px;
}

#child-pages .ccchildpage-title a,
.entry .entry-content #child-pages .ccchildpage-title a {
	color: rgb(41, 163, 179) !important;
	text-decoration: none !important;
	background: transparent;
}

#child-pages .ccpages_excerpt {
	display: block;
	padding: 10px 40px 20px;
	font-size: 16px;
	margin: 0;
	line-height: 1.5;
}

#child-pages .ccpages_more {
	display: block;
	margin: 0;
	padding: 0 40px 20px;
}

#child-pages .ccpages_more a,
.page-template-template-landing .simple .ccpages_more a,
.page-template-templates-template-landing .simple .ccpages_more a {
	display: none;
}

/* Article + state/city sidebar cards */
.sidebar .ccchildpages {
	margin: 0;
	padding: 0;
	width: 100%;
	display: block;
	float: none;
}

.sidebar .ccchildpage {
	box-sizing: border-box;
	width: 100%;
	float: none;
	display: block;
	margin: 0;
	padding: 0;
	background: rgb(41, 163, 179);
}

.sidebar .cc-child-pages-thumb,
.sidebar .ccchildpage img {
	display: block;
	width: 100%;
	height: 150px;
	object-fit: cover;
	margin: 0;
	padding: 0;
	border: 0;
}

.sidebar .ccpages_excerpt,
.sidebar .ccpages_more {
	display: none !important;
}

.sidebar .cell-text-block {
	display: none !important;
}

.sidebar .ccchildpage-title,
.sidebar h3.ccchildpage-title {
	padding: 10px 20px !important;
	margin: 0 !important;
	background: rgb(41, 163, 179) !important;
	color: #fff !important;
	font-size: 16px;
	font-weight: 400;
	text-align: left;
}

.sidebar .ccchildpage-title a,
.entry .entry-content .sidebar .ccchildpage-title a {
	display: block;
	color: #fff !important;
	text-decoration: none !important;
	background: transparent;
}

.sidebar .simple .ccchildpage {
	border-radius: 0;
	background: rgb(41, 163, 179);
}

/* Old Article template helpful-information list */
.template-article-2 .ccchildpage {
	display: flex;
	flex-direction: column;
	padding: 0 !important;
	margin: 0 !important;
}

.template-article-2 .ccchildpages > div {
	background: transparent !important;
}

.template-article-2 .threecol .ccchildpage {
	width: 100%;
}

.info .ccchildpage-title {
	margin: 0;
	font-size: 16px !important;
	padding: 15px 0;
}

.info .ccpage_title_link {
	font-weight: 500;
}

.template-article-2 .ccpage_linked_title {
	margin: 0 !important;
	text-align: left;
	padding: 10px 0 !important;
}

@media screen and (max-width: 768px) {
	#child-pages {
		width: 90%;
	}

	#child-pages .ccchildpages,
	#child-pages .ccchildpages.cclegacy,
	#child-pages .threecol {
		gap: 40px 0;
	}

	#child-pages .ccchildpage,
	#child-pages .simple .ccchildpage,
	#child-pages .threecol .ccchildpage {
		width: 100% !important;
	}
}
