.andtoday-verse-search-box {
	background: #fff;
	border-radius: 10px;
	padding: 22px 24px;
	margin: 28px 0 28px;
	box-sizing: border-box;
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.andtoday-verse-search-heading h2 {
	margin: 0 0 4px;
	font-size: 24px;
	line-height: 1.25;
	color: #111;
}

.andtoday-verse-search-heading p {
	margin: 0 0 16px;
	color: #666;
	line-height: 1.5;
}

.andtoday-verse-search-controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(170px, 240px) auto;
	gap: 10px;
	align-items: stretch;
}

.andtoday-verse-search-input,
.andtoday-verse-search-category,
.andtoday-verse-search-button {
	min-height: 46px;
	border-radius: 7px;
	box-sizing: border-box;
	font-size: 16px;
}

.andtoday-verse-search-input,
.andtoday-verse-search-category {
	width: 100%;
	border: 1px solid #d7d7d7;
	background: #fff;
	color: #222;
	padding: 9px 12px;
}

.andtoday-verse-search-input:focus,
.andtoday-verse-search-category:focus {
	outline: 2px solid #8916EB;
	outline-offset: 1px;
	border-color: #8916EB;
}

.andtoday-verse-search-button {
	border: 1px solid #8916EB;
	background: #8916EB;
	color: #fff;
	font-weight: 600;
	padding: 9px 22px;
	cursor: pointer;
}

.andtoday-verse-search-button:hover,
.andtoday-verse-search-button:focus {
	background: #6f10c2;
	border-color: #6f10c2;
	color: #fff;
}

/*
 * The Words Pro uses a simpler content-search.php template that does not
 * include the white .entry-content-wrap used by the normal post cards.
 * These rules give search-result posts the same visual treatment.
 */
body.search .site-main > article .ta-artical-posts {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 28px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

body.search .site-main > article .ta-artical-posts > .ta-content-wraper {
	padding: 22px 24px 24px;
}

body.search .site-main > article .ta-artical-posts .post-thumbnail {
	margin: 0;
	padding: 0;
}

body.search .site-main > article .ta-artical-posts img {
	border-radius: 10px 10px 0 0;
}

body.search .site-main > article .entry-title {
	margin-top: 0;
}

body.search .site-main > article .entry-content {
	margin-bottom: 0;
}

@media (max-width: 760px) {
	.andtoday-verse-search-box {
		padding: 18px;
	}

	.andtoday-verse-search-controls {
		grid-template-columns: 1fr;
	}

	body.search .site-main > article .ta-artical-posts > .ta-content-wraper {
		padding: 18px;
	}
}


/*
 * Icegram Express subscription panel.
 * The outer panel deliberately reuses .andtoday-verse-search-box and the
 * heading reuses .andtoday-verse-search-heading so the second and third
 * utility panels are visually identical. These rules remove Icegram's own
 * nested card styling while leaving its form functionality untouched.
 */
.andtoday-subscribe-form {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.andtoday-subscribe-form #icegram_embed_shell,
.andtoday-subscribe-form #icegram_embed_form,
.andtoday-subscribe-form form {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

.andtoday-subscribe-form #icegram_embed_form,
.andtoday-subscribe-form form {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.andtoday-subscribe-form input[type="text"],
.andtoday-subscribe-form input[type="email"],
.andtoday-subscribe-form select,
.andtoday-subscribe-form textarea {
	max-width: 100%;
	box-sizing: border-box;
}


/*
 * v1.7 accessibility/readability: use a darker color for the daily verse
 * and its post content while leaving headings/links/buttons to the theme.
 */
body.home .site-main > article .entry-content,
body.home .site-main > article .entry-content p,
body.home .site-main > article .entry-content li,
body.home .site-main > article .entry-content blockquote {
	color: #222;
}

/*
 * v1.7 pagination placement.
 * The plugin prints a copy directly below the daily verse. The Words Pro
 * still prints its normal pagination after loop_end, so hide only that later
 * copy, including pagination nested in a theme wrapper, while keeping both
 * plugin-positioned navigation rows visible.
 */
body.home .site-main .pagination:not(.andtoday-daily-navigation) {
	display: none !important;
}

.andtoday-daily-navigation-wrap {
	margin: 0 0 28px;
}

.andtoday-daily-navigation-wrap .navigation.pagination {
	margin-top: 0;
	margin-bottom: 0;
}

/* Memorial below the bottom navigation after the subscription panel. */
body.home .site-main .andtoday-memorial,
body.home .site-main .andtoday-memorial a,
body.home .site-main .andtoday-memorial a:visited,
body.home .site-main .andtoday-memorial a:hover,
body.home .site-main .andtoday-memorial a:focus {
	font-family: "Brush Script MT", "Brush Script Std", cursive;
	font-size: 48px;
	font-weight: normal;
	font-style: normal;
	line-height: 1.4;
	color: #000;
}

body.home .site-main .andtoday-memorial {
	margin: 0 0 28px;
	text-align: center;
}

body.home .site-main .andtoday-memorial a {
	text-decoration: underline;
}

/* The Words Pro prints its extra navigation after </main>, inside #primary. */
body.home #primary nav.navigation.pagination:not(.andtoday-daily-navigation) {
	display: none !important;
}
