/* Saving Danes: layout and component styles (values measured from the old Trellis theme). */

html { overflow-x: clip; }
body { overflow-x: clip; }

img { max-width: 100%; height: auto; }

:where(.wp-site-blocks) > * { margin-block-start: 0; }

.entry-content a, .sd-entry-content a { text-decoration: underline; }

/* ---------- Header ---------- */
.sd-header { padding-left: 0; padding-right: 0; }
.sd-header__inner { min-height: 120px; gap: 0 !important; padding: 0 !important; }
.sd-header__logo { flex: 0 0 auto; margin: 10px 0; }
.sd-header__logo img { width: 151px; height: 100px; object-fit: contain; }

.sd-nav { flex: 1 1 auto; justify-content: flex-end; margin-left: 80px !important; }
.sd-nav .wp-block-navigation__container { justify-content: flex-end; row-gap: 20px; column-gap: 0; padding: 10px 0; margin-left: 0 !important; }
.sd-nav .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--body);
	font-size: 15.75px;
	line-height: 19.6875px;
	letter-spacing: 1.575px;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary) !important;
	padding: 10px !important;
	text-decoration: none;
}
.sd-nav .wp-block-navigation-item__content:hover,
.sd-nav .current-menu-item > .wp-block-navigation-item__content,
.sd-nav .current-menu-ancestor > .wp-block-navigation-item__content,
.sd-nav .wp-block-navigation-item__content[aria-current="page"] { color: var(--wp--preset--color--secondary) !important; }
.sd-nav .wp-block-navigation__submenu-container {
	background: #fff !important;
	border: 0 !important;
	min-width: 236px !important;
	padding: 0 !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}
.sd-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 20px !important; }

.sd-search { flex: 0 0 60px; margin: 0; display: flex; justify-content: center; }
.sd-search .wp-block-search__inside-wrapper { border: 0; padding: 0; }
.sd-search .wp-block-search__button {
	background: transparent;
	color: var(--wp--preset--color--primary);
	padding: 10px;
	margin: 0;
	border: 0;
}
.sd-search .wp-block-search__button svg { width: 24px; height: 24px; min-width: 24px; fill: currentColor; }
.sd-search .wp-block-search__input { border: 1px solid var(--wp--preset--color--border); font-size: 16px; }
.sd-search:not(.wp-block-search__searchfield-hidden) { position: relative; }
.sd-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input {
	position: absolute; right: 48px; top: 50%; transform: translateY(-50%); width: 260px !important; background: #fff; z-index: 5;
}

/* ---------- Two-column layout with title band ---------- */
.sd-layout {
	box-sizing: border-box;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px 0 81px;
	display: grid;
	grid-template-columns: minmax(0, 728px) 300px;
	justify-content: space-between;
	align-items: start;
}
.sd-main { min-width: 0; padding-bottom: 50px; }
.sd-main > * + * { margin-block-start: 0; }

.sd-titleband {
	position: relative;
	padding: 40px 0 30px;
	margin-bottom: 50px;
}
.sd-titleband::before {
	content: "";
	position: absolute;
	inset: 0 -100vw;
	background: var(--wp--preset--color--accent);
	z-index: -1;
}
.sd-titleband { isolation: auto; }
.sd-main, .sd-wide { position: relative; z-index: 0; }
.sd-entry-title, .sd-titleband h1 {
	font-size: 36px;
	line-height: 45px;
	margin: 0 0 10px !important;
	color: var(--wp--preset--color--primary);
}
.sd-entry-meta {
	border-top: 1px solid var(--wp--preset--color--border);
	margin-top: 0 !important;
	padding-top: 5px;
	margin-right: 0;
	font-size: 12.006px;
	line-height: 19.51px;
	font-weight: 700;
	color: #555;
}
.sd-entry-meta p, .sd-entry-meta .wp-block-post-date { margin: 0; font-size: inherit; }

.sd-entry-content > * { margin-block-start: 0; margin-block-end: 28px; }
.sd-entry-content > h1, .sd-entry-content > h2, .sd-entry-content > h3,
.sd-entry-content > h4, .sd-entry-content > h5, .sd-entry-content > h6 { margin-block-end: 10px; }
.sd-entry-content ul, .sd-entry-content ol { padding-left: 0; }
.sd-entry-content li { margin: 0 0 10px 30px; }
.sd-entry-content figcaption, .wp-element-caption {
	font-size: 12.006px; line-height: 17px; color: #8c8c8c; text-align: center; margin: 6px 0 12px;
}
.sd-entry-content .wp-block-image { margin-block-end: 28px; }
.sd-entry-content iframe { max-width: 100%; }

/* Sidebar */
.sd-sidebar { padding: 0 0 50px; margin-top: 119px; }
.sd-sidebar > * { margin-block-start: 0; }
.sd-widget {
	background: #fff;
	border: 1px solid var(--wp--preset--color--border);
	box-sizing: border-box;
}
.sd-widget--image { padding: 10px; margin: 0 0 20px; }
.sd-widget--image img { display: block; width: 100%; }
.sd-widget--about { padding: 10px 20px; margin: 70px 0 20px; }
.sd-widget--about p { margin: 0; line-height: 29.25px; }
.sd-widget--social { border: 0; background: none; padding: 0 20px; margin: 30px 0 0; }
.sd-widget-title {
	font-size: 24.12px;
	line-height: 39.195px;
	margin: 0 0 10px;
}
.sd-widget--about .sd-widget-title {
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding-bottom: 10px;
	margin-bottom: 40px;
}

/* Social icon squares */
.wp-block-social-links.sd-social { gap: 12px; margin: 0; padding: 0; }
.wp-block-social-links.sd-social .wp-social-link { border-radius: 3px; margin: 0; }
.wp-block-social-links.sd-social .wp-block-social-link-anchor { padding: 13px; }
.wp-block-social-links.sd-social .wp-block-social-link-anchor svg { width: 25px; height: 25px; }
.wp-block-social-links.sd-social--sidebar .wp-social-link:hover { background-color: var(--wp--preset--color--primary) !important; transform: none; }
.wp-block-social-links.sd-social--footer { gap: 12px; padding-left: 6px; }
.wp-block-social-links.sd-social--footer .wp-block-social-link-anchor { padding: 9px; }
.wp-block-social-links.sd-social--footer .wp-block-social-link-anchor svg { width: 18px; height: 18px; }
.wp-block-social-links.sd-social--footer .wp-social-link:hover { background-color: #666 !important; transform: none; }

/* ---------- Footer ---------- */
.sd-footer { font-size: 15.75px; line-height: 25.59px; }
.sd-footer .sd-footer__cols { margin: 0 auto; gap: 58px; }
.sd-footer .sd-widget-title {
	text-transform: uppercase;
	border-bottom: 1px solid #e1dcd4;
	padding-bottom: 10px;
	margin: 0 0 20px;
}
.sd-footer p { margin: 0 0 28px; }
.sd-footer a { text-decoration: none; }
.sd-footer .wp-block-column { margin-bottom: 20px; }
.sd-footer .sd-footer__copy { margin: 0; }
.sd-footer > * + * { margin-block-start: 0; }
.sd-footer [data-patreon-widget-type] { display: none; }

/* ---------- Recommended, tags, post navigation, comments ---------- */
.sd-recommended { margin: 50px 0 0; }
.sd-recommended__title {
	font-family: var(--wp--preset--font-family--body);
	color: #333;
	font-size: 27px;
	margin: 0 0 15px;
}
.sd-recommended__grid { max-width: 620px; gap: 20px !important; }
.sd-recommended__grid .wp-block-post-featured-image { margin: 0 0 15px; }
.sd-recommended__grid .wp-block-post-featured-image img { border-radius: 6px; }
.sd-recommended__name { font-family: var(--wp--preset--font-family--body); font-size: 20px; line-height: 1.25; margin: 0; }
.sd-recommended__name a { color: #333; text-decoration: none; }

.sd-tags { margin-top: 50px; }
.sd-tags__title {
	font-size: 12.006px;
	color: #555;
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding: 0 0 10px;
	margin: 0 0 20px;
}
.sd-tags .wp-block-post-terms { font-size: 12.006px; line-height: 19.51px; display: flex; flex-wrap: wrap; }
.sd-tags .wp-block-post-terms a {
	border: 1px solid var(--wp--preset--color--border);
	padding: 8px 12px;
	margin: 5px 20px 5px 0;
	text-decoration: none;
}
.sd-tags .wp-block-post-terms__separator { display: none; }

.sd-postnav { margin-top: 55px; gap: 78px !important; }
.sd-postnav .post-navigation-link-previous,
.sd-postnav .post-navigation-link-next { text-align: center; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 24.12px; line-height: 30px; }
.sd-postnav a { text-decoration: none; }
.sd-postnav__thumb { display: block; margin-bottom: 20px; }
.sd-postnav__thumb img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.sd-comments { margin-top: 70px; }
.sd-comments__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: 18px;
	text-transform: uppercase;
	color: #555;
	margin-bottom: 30px;
}
.sd-comments .comment-form label { font-weight: 700; text-transform: uppercase; font-size: 16px; display: block; }
.sd-comments .comment-form textarea,
.sd-comments .comment-form input[type="text"],
.sd-comments .comment-form input[type="email"],
.sd-comments .comment-form input[type="url"] { width: 100%; box-sizing: border-box; border: 1px solid #ccc; padding: 10px; font-size: 16px; }
.sd-comments .comment-reply-title { display: none; }
.sd-comments .form-submit input {
	background: var(--wp--preset--color--primary);
	color: #fff;
	border: 0;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 1px;
	padding: 10px 20px;
	cursor: pointer;
}

/* ---------- Archive list ---------- */
.sd-archive__list { margin: 0; padding: 0; }
.sd-archive__list > li { margin: 0 0 40px; }
.sd-archive__thumb { flex: 0 0 157px; margin: 30px 0 0; }
.sd-archive__thumb img { width: 157px; height: 118px; object-fit: cover; }
.sd-archive__body { flex: 1 1 auto; min-width: 0; }
.sd-archive__title { font-size: 24.12px; line-height: 37px; margin: 0; }
.sd-archive__title a { text-decoration: none; }
.sd-archive .wp-block-post-excerpt { margin: 0; }
.sd-archive .wp-block-post-excerpt__excerpt { margin: 0 0 10px; }
.sd-readmore {
	display: table !important;
	margin-left: auto;
	background: var(--wp--preset--color--primary);
	color: #fff !important;
	text-transform: uppercase;
	font-size: 15.75px;
	padding: 4px 18px;
	text-decoration: none !important;
}
.sd-readmore:hover { background: var(--wp--preset--color--secondary); color: #000 !important; }
.sd-pagination { border-top: 1px solid var(--wp--preset--color--border); padding-top: 45px; margin-top: 0; gap: 30px; }
.sd-pagination a { text-decoration: none; }
.sd-pagination .current { color: #000; }

/* ---------- Full-width template ---------- */
.sd-wide .sd-titleband { max-width: 1200px; margin-left: auto; margin-right: auto; }

/* ---------- Block styles used in page content ---------- */

/* Bordered box (the old Kadence info boxes) */
.is-style-sd-box {
	background: #fff;
	border: 5px solid var(--wp--preset--color--accent);
	padding: 24px;
	text-align: center;
	color: var(--wp--preset--color--slate-text);
}
.is-style-sd-box h2 { font-size: 27px; line-height: 43.875px; margin: 5px 0 10px; }
.is-style-sd-box p { margin: 0; }

/* Link cards (Donate / Volunteer / Foster ...) */
.is-style-sd-card {
	position: relative;
	background: #fff;
	border: 5px solid var(--wp--preset--color--accent);
	padding: 20px;
	text-align: center;
	height: 100%;
	box-sizing: border-box;
}
.is-style-sd-card h4 {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 300;
	font-size: 20px;
	line-height: 25px;
	color: #000;
	margin: 5px 0 10px;
}
.is-style-sd-card h4 a { color: inherit; text-decoration: none; }
.is-style-sd-card h4 a::after { content: ""; position: absolute; inset: 0; }
.is-style-sd-card p { font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 24px; color: #444; margin: 0; }
.is-style-sd-card > * + * { margin-block-start: 0; }

.wp-block-image.is-style-sd-circle { margin: 0 auto 10px; }
.wp-block-image.is-style-sd-circle img {
	width: 100px; height: 100px; object-fit: cover; border-radius: 50%; filter: grayscale(1); background: #eee;
}
.is-style-sd-card:hover .is-style-sd-circle img { filter: none; }

/* Buttons */
.wp-block-button.is-style-sd-dark .wp-block-button__link,
.wp-block-button.is-style-sd-outline .wp-block-button__link {
	font-size: 18px; line-height: 28.8px; padding: 8px 16px; border-radius: 3px; border: 2px solid; text-decoration: none;
}
.wp-block-button.is-style-sd-dark .wp-block-button__link { background: #444; color: #fff; border-color: #555; }
.wp-block-button.is-style-sd-dark .wp-block-button__link:hover { background: #000; border-color: #000; color: #fff; }
.wp-block-button.is-style-sd-outline .wp-block-button__link { background: transparent; color: #808080; border-color: #808080; }
.wp-block-button.is-style-sd-outline .wp-block-button__link:hover { background: #fff; color: #000; border-color: #000; }
.wp-block-button.is-style-sd-learnmore .wp-block-button__link {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--slate-text);
	padding: 4px 8px;
	font-size: 18px;
	line-height: 29.25px;
	text-decoration: underline;
	border-radius: 0;
}
.wp-block-button.is-style-sd-learnmore .wp-block-button__link:hover { background: #444; color: #fff; }

/* Counters */
.sd-counters .wp-block-column { text-align: center; }
.sd-counters .wp-block-image { margin: 0 auto; }
.sd-counters .wp-block-image img { width: 60px; height: 60px; }
.is-style-sd-counter {
	font-family: Arial, sans-serif;
	font-size: 50px;
	line-height: 65px;
	letter-spacing: 2px;
	color: var(--wp--preset--color--green);
	margin: 20px 0 0 !important;
}
.sd-counters h3 {
	font-family: Arial, sans-serif;
	font-weight: 400;
	font-size: 25px;
	line-height: 32.5px;
	letter-spacing: 2px;
	margin: 20px 0 0 !important;
}

/* Homepage hero */
.sd-hero { min-height: 768px; padding: 240px 15px 120px !important; }
.sd-hero__box { background: rgba(255, 255, 255, .81); padding: 0 25px; max-width: 470px; margin: 0 auto; }
.sd-hero__box h2 { font-size: 50px; line-height: 60px; color: #444; margin: 10px 0; text-transform: uppercase; }
.sd-hero__box p { margin: 0 0 28px; color: #000; }
.sd-hero__box .wp-block-buttons { gap: 10px; padding-bottom: 28px; }

/* Homepage blog row */
.sd-homeblog .wp-block-post-template { gap: 70px !important; }
.sd-homeblog .wp-block-post-featured-image { margin: 0 0 20px; }
.sd-homeblog .wp-block-post-featured-image img { aspect-ratio: 3 / 2; object-fit: cover; }
.sd-homeblog .wp-block-post-title { font-size: 24.12px; line-height: 39.195px; text-align: center; margin: 0 0 18px; }
.sd-homeblog .wp-block-post-title a { text-decoration: underline; }
.sd-homeblog .wp-block-post-excerpt { text-align: center; }
.sd-homeblog .wp-block-post-excerpt__excerpt { margin: 0 0 18px; }
.sd-homeblog .wp-block-read-more {
	display: table;
	margin: 0 auto;
	font-size: 14.4px;
	font-weight: 700;
	letter-spacing: .72px;
	text-transform: uppercase;
	color: #555;
	text-decoration: underline;
}

/* ---------- Mobile ---------- */
@media (max-width: 1023px) {
	.sd-layout { display: block; padding: 0 20px; }
	.sd-sidebar { margin-top: 0; }
	.sd-hide-mobile { display: none !important; }
	.sd-widget--about { margin-top: 20px; }
}
@media (max-width: 781px) {
	.sd-header__inner { min-height: 95px; position: relative; justify-content: center !important; }
	.sd-header__logo { margin: 0 auto; }
	.sd-header__logo img { width: auto; height: 75px; }
	.sd-nav { position: absolute; left: 0; top: 50%; transform: translateY(-50%); flex: 0 0 auto; }
	.sd-search { position: absolute; right: 0; top: 50%; transform: translateY(-50%); margin: 0; }
	.sd-titleband { text-align: center; padding: 20px 0; }
	.sd-titleband .sd-entry-meta { justify-content: center; }
	.sd-entry-title { line-height: 1.6; }
	.sd-footer .sd-footer__cols { gap: 0; }
	.sd-postnav { gap: 20px !important; }
	.sd-hero { min-height: 0; padding: 120px 15px 120px !important; }
	.sd-hero__box h2 { font-size: 40px; line-height: 48px; }
	.sd-archive__thumb { display: none; }
}
.sd-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { padding: 10px 0 !important; }
.sd-postnav .post-navigation-link__label { display: none; }
.sd-footer .sd-footer__cols { max-width: 1180px; padding-left: 10px; box-sizing: border-box; }

/* ---------- Homepage sections ---------- */
.sd-front .wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }
.sd-hero.wp-block-cover { margin-top: 34px !important; align-items: flex-start; }
.sd-hero .wp-block-cover__inner-container { width: 100%; }
.sd-box-full.is-style-sd-box { margin: 50px 150px 0 !important; max-width: none; width: auto; }
.is-style-sd-box .sd-box__logo { margin: -40px auto 58px !important; }
.is-style-sd-box .sd-box__logo img { width: 242px; }
.is-style-sd-box h2 { color: var(--wp--preset--color--primary); }
.is-style-sd-box .wp-block-buttons { margin-top: 10px; margin-bottom: 10px; }
.is-style-sd-box > * + * { margin-block-start: 0; }
.sd-cardrow { padding: 45px 15px; }
.sd-cardrow__cols { gap: 30px !important; margin-top: 0 !important; margin-bottom: 0 !important; align-items: stretch !important; }
.sd-cardrow__cols > .wp-block-column { display: flex; }
.sd-cardrow__cols .is-style-sd-card { width: 100%; }
.sd-counters.alignfull { margin: 50px 0 !important; padding: 0 15px !important; gap: 30px !important; width: 100%; max-width: none; box-sizing: border-box; }
.sd-counters .sd-counter__icon img { height: 60px; width: auto; }
.sd-home-divider.wp-block-separator { width: 80% !important; max-width: 80% !important; border: 0; border-top: 1px solid #ccc; margin: 35px auto 34px !important; opacity: 1; }
.sd-home-blogtitle { margin: 0 5px 10px !important; font-size: 36px; line-height: 58.5px; }
.sd-homeblog { padding: 0 0 0 30px; box-sizing: border-box; }
.sd-homeblog .wp-block-read-more::after { content: " \2192"; text-decoration: none; display: inline-block; margin-left: 4px; }

/* ---------- Converted Mediavine lists ---------- */
.sd-list-sep.wp-block-separator { border: 0; border-top: 1px solid #eee; margin: 0 0 0 !important; opacity: 1; }
.sd-list-title { font-size: 30px; line-height: 42px; padding-top: 20px; margin: 0 0 10px !important; }
.is-style-sd-listitem {
	background: #f4f4f4;
	border: 1px solid #f4f4f4;
	padding: 20px 20px 20px 0;
	margin: 0 0 30px 77px !important;
	gap: 26px !important;
}
.is-style-sd-listitem .sd-listitem__img { flex: 0 0 154px; margin: 0 0 0 -77px !important; }
.is-style-sd-listitem .sd-listitem__img img { width: 134px; height: 134px; border: 10px solid #fff; border-radius: 50%; object-fit: cover; display: block; }
.sd-listitem__body { flex: 1 1 auto; min-width: 0; }
.sd-listitem__body > * { margin-block-start: 0; }
.sd-listitem__title { font-family: var(--wp--preset--font-family--heading); font-size: 18px !important; line-height: 29.25px; margin: 0 !important; }
.sd-listitem__body p { font-size: 16px; line-height: 22.4px; margin: 8px 0 16px !important; }
.wp-block-button.is-style-sd-listbtn .wp-block-button__link {
	background: var(--wp--preset--color--secondary);
	color: #000;
	font-family: Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .65px;
	line-height: normal;
	text-transform: uppercase;
	padding: 8px 20px;
	text-decoration: none;
}
.wp-block-button.is-style-sd-listbtn .wp-block-button__link:hover { background: var(--wp--preset--color--primary); color: #fff; }

@media (max-width: 1023px) {
	.sd-box-full.is-style-sd-box { margin: 50px 15px 0 !important; }
}
@media (max-width: 781px) {
	.sd-homeblog { padding: 0 20px; }
	.is-style-sd-listitem { flex-direction: column; margin-left: 0 !important; padding: 20px; }
	.is-style-sd-listitem .sd-listitem__img { margin: 0 !important; }
}

/* Content-level constrained groups should not pick up the root side padding. */
.sd-entry-content .has-global-padding { padding-left: 0; padding-right: 0; }
.sd-front .wp-block-post-content { padding-left: 0 !important; padding-right: 0 !important; }
.sd-front .wp-block-post-content > .alignfull:not(.sd-box-full):not(.sd-home-divider) { margin-left: 0 !important; margin-right: 0 !important; width: 100%; max-width: none; }
.sd-front .sd-hero + .sd-box-full.is-style-sd-box { margin-top: 94px !important; }
@media (max-width: 781px) {
	.sd-nav { margin-left: 0 !important; }
	.sd-nav .wp-block-navigation__responsive-container-open { padding: 10px 0; color: #000; }
}
@media (max-width: 1260px) {
	.sd-header { padding-left: 20px !important; padding-right: 20px !important; }
}
.sd-pagination .wp-block-query-pagination-numbers .page-numbers { margin: 0 15px; }
/* Jetpack Subscriptions "Notify me" checkboxes (shown when Jetpack is connected) */
.sd-comments .comment-subscription-form { margin: 0 0 10px; }
.sd-comments .comment-subscription-form label { display: inline; font-weight: 400; text-transform: none; font-size: 18px; }
.sd-entry-content a { overflow-wrap: anywhere; }
