/*
Theme Name: Grace Hospice
Theme URI: https://gracecaring.org/
Author: Michael Rotondo
Author URI: https://mrsoftwaredevelopment.dev/
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: grace_hospice
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

© 2025 Michael Rotondo - All Rights Reserved

*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: 600;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #0077be;
}

.wp-block-button__link.wp-element-button:hover,
a:hover, a:active {
	color: #191970;
}
/* (Removed to eliminate "visited" look from links and buttons)
 * a:visited {color: #800080;} a:focus {color: #191970;} */

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	/* width: 100%; */
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
  border-radius: 15px;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: 0;
}

.main-navigation li {
	position: relative;
	padding: 5px 20px;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--site-main-color-font);
}

.main-navigation a:hover,
.main-navigation .current_page_item a {
	color: var(--site-main-secondary-color);
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}

	.main-navigation ul.sub-menu {
		display: block;
		background-color: white;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-summary {
	margin: 0 0 1.5em 0;
}

.entry-content {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* START THEME GLOBALS */

:root {
	--site-standard-width: 1250px;
	--site-wide-width: 1400px;
	--site-main-color: #7f58a5;
	--site-main-color-font: #7f58a5;
	--site-main-secondary-color: #b382b3;
	--site-text-color: #404040;
}

/* END THEME GLOBALS */

/* START SITE-WIDE COLORS */

.has-vivid-purple-color { color: var(--site-main-color) !important; }
.has-vivid-purple-background-color { background-color: var(--site-main-color) !important; }

/* Custom Script Font Utility */
.gh-script {
    font-family: 'Brush Script MT', cursive;
    color: var(--site-main-secondary-color);
}

.gh-serif {
    font-family: Georgia, serif;
}

/* Overlapping Card Style */
.gh-overlap-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
}

@media (min-width: 782px) {
    .gh-overlap-left {
        margin-right: -120px;
    }
    .gh-overlap-right {
        margin-left: -120px;
    }
}
/* END SITE-WIDE COLORS */


/* START setup the alignfull and align wide */

/* 1. Default content width for all blocks */
/* This targets direct children of your main content area */
#secondary,
.page-content,
.page-title-container,
.entry-content,
.entry-footer {
	max-width: var(--site-standard-width); /* Adjust to your theme's standard content width */
	margin-left: auto;
	margin-right: auto;
}

/* 2. Reset max-width for alignment classes */
/* This allows them to break out of the container defined above */
.entry-content > .alignwide,
.entry-content > .alignfull {
	/* max-width: none; */
}

/* 3. Define the 'wide' alignment width */
.alignwide {
	/* A wider, but not full-screen, width */
	max-width: var(--site-wide-width); /* Adjust to your desired 'wide' width */
}

/* 4. Define the 'full' alignment width */
.alignfull {
	/* This is the key part for full-width */
	width: 100vw;
	max-width: 100vw; /* Ensures it never exceeds viewport width */

	/* This calculation pulls the element left to align with the viewport edge */
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* 5. A small fix to prevent horizontal scrollbars */
/* This is important when using 100vw units */
body {
	overflow-x: clip; /* Or 'hidden' if 'clip' isn't supported */
}

/* END setup the alignfull and align wide */


/* START theme build */

/* Make the theme template full height to the window */
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh; /* This forces the container to be at least as tall as the screen */
}

/* 2. Admin Bar Fix - Desktop */
/* Overrides the min-height ONLY when admin bar is present */
body.admin-bar {
	min-height: calc(100vh - 32px);
}

#page,
main {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* CUSTOM HEADER FOOTER BUILDER START */

.gh-pre-pre-header-text-1 {
	color: #bfacd2;
	font-style: italic;
}

.custom-header-footer-content {
	max-width: var(--site-standard-width);
	margin: auto;
	padding: 0 20px;
}

/* CUSTOM HEADER FOOTER BUILDER END */


/* HEADER START */

.mr-donate-button a.wp-block-button__link.wp-element-button {
	border-radius: 99px;
	padding: 2px 5px;
	font-weight: 300;
}

.entry-header {
	background-image: url('img/Header-Background.jpg');
	padding: 22px 0;
}

.entry-title {
	font-weight: 400;
	color: var(--site-main-color-font);
	margin: 0;
	font-size: 1.5em;
}

/* pre header START */

#pre-header {
	padding: 10px 0;
	background-color: var(--site-main-color); /* This is already purple from mockup */
}

#pre-header .wp-block-group {
    align-items: center;
    justify-content: flex-end; /* Pushes items to the right */
    gap: 20px; /* Increased gap for better spacing */
}

#pre-header p {
	font-size: 13px;
	font-weight: 300;
	margin: 0; /* Ensure no extra margin */
}

#pre-header p a {
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

#pre-header .wp-block-navigation-item a,
#pre-header .wp-block-navigation-item__label {
    color: #ffffff; /* Corrected to white */
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
    text-decoration: none;
}

#pre-header .mr-donate-button a.wp-block-button__link {
    background-color: #0077be;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

/* pre header END */

#masthead {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: var(--site-standard-width); /* Adjust to your desired 'wide' width */
	margin: 8px auto;
	width: 100%;
}

#masthead .site-branding img {
	width: 170px;
}

#masthead .site-branding {
	line-height: 0em;
}

/* HEADER END */

/* FOOTER START */

#colophon {
	background-color: var(--site-main-color);
}

#footer-container {
	max-width: var(--site-wide-width);
	margin: auto;
	padding: 15px 20px; /* Added padding so it doesn't touch edges */

	/* GRID SETUP */
	display: grid;
	/* The Magic Ratio: 1fr (Left) - Auto (Center) - 1fr (Right) */
	grid-template-columns: 1fr auto 1fr; 
	align-items: center; 
}

/* --- COLUMN 1: SPACER --- */
/* This takes up the left side space just to balance the right side */
.footer-spacer {
	display: block;
}

/* --- COLUMN 2: CENTER TEXT --- */
.site-info {
	text-align: center;
	white-space: nowrap; /* Prevents text from wrapping awkwardly if possible */
	color: #fff; /* Assuming white text based on image */
}

.site-info a {
	color: #fff;
	text-decoration: none;
}

/* --- COLUMN 3: RIGHT SECTION --- */
.footer-right-section {
	/* Pushes the button to the far right of the 3rd column */
	justify-self: end; 
}

.footer-right-section a {
	margin-left: 10px;
}

/* --- BUTTON STYLING (Matches your image) --- */
.wp-block-button__link.wp-element-button,
.employee-footer-btn {
	background-color: #0177be; /* Adjust to your exact blue hex code */
	color: white;
	padding: 8px 15px;
	text-decoration: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	display: inline-block;
}

.employee-footer-btn.employee-portal-btn {
	background-color: #a978a9;
}


.wp-block-button__link.wp-element-button:hover,
.employee-footer-btn:hover {
	background-color: #fff;
}


/* --- FOOTER COLUMN STYLING --- */

/* 1. Main Container (The Columns Block) */
/* FIX: This specific rule overrides the default WP :where(.wp-block-columns) margin */
.wp-block-columns.footer-post-section {
    background-color: #FDFBF9; /* Beige */
    padding-top: 30px; /* Reduced vertical padding for sleeker look */
    padding-bottom: 30px;

    /* FIX: Force width to be the full VIEWPORT width (screen width), not container width */
    width: 100vw !important;
    max-width: 100vw !important;

    /* Center the container relative to the viewport */
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 2. Reset Spacing for inner items */
.footer-post-section .wp-block-image,
.footer-post-section .wp-block-social-links,
.footer-post-section .footer-donate-btn-wrapper {
    margin-bottom: 20px; /* Tighter vertical spacing */
}

/* 3. Social Icons: PETITE SIZE (Fixed) */
/* Remove default block gap if possible to tighten them up */
.footer-social-icons.wp-block-social-links {
    gap: 8px !important; /* Force icons closer together */
}

.footer-social-icons .wp-block-social-link {
    background-color: var(--site-main-secondary-color, #e09ad6) !important;
    color: #fff !important;
    border-radius: 50% !important;

    /* SMALLER SIZE: 32px instead of 40px */
    width: 32px !important;
    height: 32px !important;

    /* Padding adjusted for smaller box */
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: none !important;
    margin-bottom: 0 !important; /* Ensure no individual bottom margin */
}

/* Fix SVG size to fit the new petite circle */
.footer-social-icons .wp-block-social-link svg {
    width: 16px !important;
    height: 16px !important;
    fill: #ffffff !important;
}

/* 4. Donate Button: SLIMMER SIZE (Fixed) */
.footer-donate-btn .wp-block-button__link {
    background-color: var(--site-main-color, #7f58a5) !important;
    color: #fff !important;
    border-radius: 50px !important;

    /* REDUCED PADDING: Sleeker pill shape */
    padding: 10px 30px !important;

    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    font-size: 14px; /* Slightly smaller text */
    border: none;
}

/* 5. Text Styling */
.footer-notice-text {
    color: var(--site-main-secondary-color, #e09ad6);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px; /* Tighter to the address */
}

.footer-address-text {
    color: var(--site-main-color, #7f58a5);
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 0;
}

.footer-address-text a {
    /* CHANGED: Set to secondary color (pink) to match the icons/notice */
    color: var(--site-main-secondary-color, #e09ad6) !important;
    text-decoration: none;
    font-weight: 700;
}

/* --- MOBILE & TABLET RESPONSIVENESS --- */
@media (max-width: 900px) {
	#footer-container {
	/* Switch to single column stack */
		display: flex;
		flex-direction: column;
		gap: 15px;
		padding: 20px;
	}

	/* Hide the spacer on mobile as we don't need to balance anything */
	.footer-spacer {
		display: none;
	}

	/* Reset the right section alignment to center */
	.footer-right-section {
		justify-self: center;
	}

	/* Ensure text can wrap on very small screens */
	.site-info {
		white-space: normal;
		line-height: 1.5;
	}

	body.admin-bar {
		min-height: calc(100vh - 46px);
	}
}
/* FOOTER END */

/* -------------------------------------------------------------------------- */
/*	HOMEPAGE STYLES (Grace Hospice)
/* -------------------------------------------------------------------------- */

/* Hero Section Refinement */
.gh-hero .wp-block-cover__inner-container {
    max-width: 800px;
    margin-left: 0;
    text-align: left;
}

.gh-line-height-change {
	line-height: 1em;
}

/* Testimonial Box (Shared) & Service Cards */
.gh-best-hospice-care .wp-block-group.has-white-background-color,
.gh-testimonials .wp-block-group.has-white-background-color,
.gh-service-card {
    box-shadow: 0 15px 40px rgba(127, 88, 165, 0.1);
    border: 1px solid rgba(0,0,0,0.02);
	padding: 30px;
}

.gh-service-card p {
	font-size: 0.9rem;
	line-height: 1.5;
}

.gh-service-card strong {
	font-size: 1.1rem;
	font-weight: 700;
}

/* Testimonial Slider */
.gh-testimonials .wp-block-group {
	position: relative;
}
.gh-testimonials .wp-block-group .wp-block-group {
	padding-bottom: 40px; /* Space for dots */
}
.gh-testimonials .wp-block-group .wp-block-group p:last-of-type {
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 2rem;
	color: var(--site-main-secondary-color);
}


/* Contact Form Refinement */
.gh-contact-form {
    background-color: #fdfbf9 !important;
    padding: 50px !important;
    border-radius: 40px !important;
    border: 1px solid #f0e6da;
}

.gh-contact-form input,
.gh-contact-form textarea,
.gh-contact-form select {
    background-color: #ffffff !important;
    border: 1px solid #e8e0d5 !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    margin-bottom: 15px !important;
}

/* Service Card Refinement */
.gh-service-card {
    background: #fbf7f3 !important;
    padding: 20px 25px;
    border-radius: 15px;
    border-left: none; /* This was previously set to 5px solid var(--site-main-color); */
    margin-bottom: 20px;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative; /* Needed for positioning the ::before pseudo-element */
    transition: all 0.3s ease; /* Smooth transition for all properties */
}

.gh-service-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Subtle lift */
}

.gh-service-card:hover strong,
.gh-service-card:hover p {
    color: white; /* Make text and icon white */
}

.gh-service-card:hover figure img {
    filter: brightness(0) invert(1); /* Invert icon color to white */
}

.gh-service-card figure {
    margin: 0 !important;
    flex-shrink: 0;
}

.gh-service-card p {
    margin: 0 !important;
}

/* Hero Tagline Spacing */
.gh-max-width-hero-text {
	max-width: 600px;
	gap: 0;
}

.mr-gh-remove-link-underline a {
	text-decoration: none;
}

.gh-make-margin-none {
  margin: 0 !important;
}

.has-liorah-bt-font-family {
  position: relative;
  line-height: 55px;
  top: 7px;
  padding-left: 10px;
  padding-right: 10px;
}

.gh-hero-new .wp-block-image {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.gh-faq-accordion {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.gh-faq-accordion li {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 15px;
    border: 1px solid #eee;
	margin-bottom: 15px;
    font-weight: 700;
    color: var(--site-main-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s;
	position: relative;
}
.gh-faq-accordion li:after {
	content: '+';
	position: absolute;
	right: 30px;
	font-size: 1.5rem;
	font-weight: 300;
}
.gh-faq-accordion li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Global Heading Spans & Buttons */
h1 span, h2 span, h3 span {
    /* Keeping these as the 'Brush Script MT' font is custom and not easily set per-span in blocks without raw HTML */
    font-family: 'Brush Script MT', cursive; 
}

.wp-block-button__link {
    transition: all 0.3s ease;
}
.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/*--------------------------------------------------------------
# Hero Section Overlay
--------------------------------------------------------------*/
.gh-hero-overlay {
    position: relative;
}

.gh-hero-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://d1.mrsd.dev/wp-content/uploads/2025/12/beautiful-pink-flower-background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.65; /* Increased from 0.5 */
    mix-blend-mode: overlay; /* Or 'screen', 'multiply', etc. */
    z-index: 1;
}

.gh-hero-overlay .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
}




/* Custom Checklist */
.gh-checklist {
    list-style: none;
    padding-left: 0;
}
.gh-checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}
.gh-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    height: 8px;
    width: 14px;
    border-left: 2px solid var(--site-main-secondary-color);
    border-bottom: 2px solid var(--site-main-secondary-color);
    transform: rotate(-45deg);
}

/* Service Card Refinement - Remove Border */
.gh-service-card {
    border-left: none !important;
}


/* Contact Form Styling */
.gh-contact-form .wp-block-columns {
    gap: 20px;
}
.gh-contact-form input[type="text"],
.gh-contact-form input[type="email"],
.gh-contact-form input[type="tel"],
.gh-contact-form textarea {
    background-color: #fff !important;
    border: 1px solid #E0E0E0 !important;
    border-radius: 10px !important;
    padding: 15px 20px !important;
    width: 100%;
    margin-bottom: 0 !important;
}
.gh-contact-form .wp-block-button {
    margin-top: 20px;
}


/* Ensure content within alignfull blocks is constrained */
.alignfull > .wp-block-group__inner-container,
.alignfull > .wp-block-cover__inner-container {
    max-width: var(--site-standard-width);
    margin-left: auto;
    margin-right: auto;
}
.alignwide > .wp-block-group__inner-container,
.alignwide > .wp-block-cover__inner-container {
    max-width: var(--site-wide-width);
    margin-left: auto;
    margin-right: auto;
}


.gh-mission-vision .wp-block-columns {
    position: relative;
    overflow: visible; /* Allow content to spill out of the container */
}

/* Base styles for the overlapping cards */
.gh-overlap-card {
    position: relative;
    background-color: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25); /* Increased shadow intensity */
    /* Ensure the card is above the image */
    z-index: 1;
}

/* Specific positioning for left-overlapping card (now moving right) */
.gh-overlap-left {
    /* Adjust based on desired overlap amount */
    right: -150px; /* Increased overlap */
    margin-left: -150px; /* Counteract the right shift to prevent content reflow */
}

/* Specific positioning for right-overlapping card (now moving left) */
.gh-overlap-right {
    /* Adjust based on desired overlap amount */
    left: -150px; /* Increased overlap */
    margin-right: -150px; /* Counteract the left shift to prevent content reflow */
}

/* Adjust column width to make space for the overlap */
.gh-mission-vision .wp-block-column:first-child {
    flex-basis: 40%; /* Example: 40% for text, 60% for image */
}

.gh-mission-vision .wp-block-column:last-child {
    flex-basis: 60%; /* Example: 60% for image */
}

/* Ensure images don't get cut off by overflow */
.gh-mission-vision .wp-block-image {
    position: relative;
    z-index: 0;
}

.gh-best-hospice-care .wp-block-image img {
    border-radius: 30px;
}

/* -------------------------------------------------------------------------- */
/*      MISSION & VISION SECTION (Native Columns Layout)
/* -------------------------------------------------------------------------- */

/* Target the columns block directly */
.gh-mission-vision.wp-block-columns {
    background-color: #fdfbf9 !important;
    /* Ensure it behaves as alignfull (full viewport width) */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    
    align-items: start;
    display: flex;
    
    /* Default padding for mobile */
    padding-left: 20px;
    padding-right: 20px;

    padding-top: 85px;
    padding-bottom: 85px;
}

/* Desktop: Constrain content via padding, keeping background full width */
@media (min-width: 782px) {
    .gh-mission-vision.wp-block-columns {
        gap: 80px;
        /* Calculate padding to simulate a centered container of --site-standard-width */
        padding-left: calc((100vw - var(--site-standard-width)) / 2 + 40px); /* +40px for internal breathing room */
        padding-right: calc((100vw - var(--site-standard-width)) / 2 + 40px);
    }
}

/* -------------------------------------------------------------------------- */
/*      REDEFINING HOSPICE SECTION (Native Columns Layout)
/* -------------------------------------------------------------------------- */

.gh-redefining-hospice.wp-block-columns {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    
    align-items: center; /* Vertical alignment center */
    display: flex;
    
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 782px) {
    .gh-redefining-hospice.wp-block-columns {
        gap: 60px;
        padding-left: calc((100vw - var(--site-standard-width)) / 2 + 20px);
        padding-right: calc((100vw - var(--site-standard-width)) / 2 + 20px);
    }
}

/* --- LEFT COLUMN --- */
.gh-mv-left-col {
    display: flex;
    flex-direction: column;
    /* No strict gap here, managed by margins on children */
}

.gh-best-center-text {
    /* padding-right: 20px; */
}

.gh-vision-container {
    position: relative;
    /* margin-bottom handled inline or via block gap */
}

.gh-vision-container figure {
    margin: 0 !important;
}

.gh-best-service img,
.gh-vision-container img {
    border-radius: 40px;
    width: 100%;
    display: block;
}

/* Vision Card: Overlaps from Bottom Left */
.gh-vision-card {
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 65%;
    background: #fdfbf9;
    padding: 25px;
    max-width: 350px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    z-index: 10;
}


/* --- RIGHT COLUMN --- */
.gh-mv-right-col {
    display: flex;
    flex-direction: column;
    /* Offset to stagger the columns slightly like a masonry layout */
    padding-top: 60px; 
}

.gh-nurse-image-container {
    position: relative;
    margin-bottom: 0;
}

.gh-nurse-image-container figure {
    margin: 0 !important;
}

.gh-nurse-image-container img {
    border-radius: 40px;
    width: 100%;
    display: block;
}

/* Mission Card: Overlaps from Top Right */
.gh-mission-card {
    position: absolute;
    top: -100px;
    right: -40px;
    width: 63%;
    background: #fdfbf9;
    padding: 25px;
    max-width: 345px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    z-index: 10;
}

/* Testimonial & Checklist Row (Side-by-Side) */
.gh-testimonial-checklist-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 60px;
}

/* Testimonial mini-card */
.gh-mini-testimonial .wp-block-separator {
	color: #f1e9f0;
}

.gh-make-margin-bottom-0 {
	margin-bottom: 0;
}

.gh-mini-testimonial {
    flex: 1; /* Takes up available space */
    background: #fff;
    padding: 35px;
    border-radius: 30px;
    margin-bottom: 0;
}

.gh-testimonial-bubble {
	border: 1px solid #7f58a5;
	border-radius: 20px;
	padding: 40px;
}

/* Checklist & Button Group */
.gh-checklist-group {
    flex: 1; /* Takes up available space */
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 10px;
}

/* Blue circular checkmarks */
.gh-checklist-v2 {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gh-checklist-v2 li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 18px;
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--site-text-color);
}

.gh-checklist-v2 li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 28px;
    height: 28px;
    background-color: #0077be;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
}

/* Learn More Button */
.gh-learn-more-btn .wp-block-button__link {
    background-color: #7f58a5 !important;
    border-radius: 50px !important;
    padding: 15px 32px !important;
    font-weight: 400;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
}

.edit-link {
    display: none;
}

.employee-person-quote {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 0;
}

.employee-person-quote-citation {
	margin-top: 0;
	color: #0077be;
}

/* --- RESPONSIVE BREAKPOINT --- */
@media (max-width: 1024px) {
    .gh-mission-vision .wp-block-columns {
        flex-direction: column; /* Standard WP column stacking behavior */
        gap: 80px;
    }

    .gh-mv-right-col {
        padding-top: 0;
    }

    .gh-vision-card,
    .gh-mission-card {
        position: relative;
        top: auto; bottom: auto; left: auto; right: auto;
        width: 100%;
        margin-top: -30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }
    
    .gh-testimonial-checklist-row {
        flex-direction: column;
    }
}

.is-style-rounded-corners img {
    border-radius: 15px;
}

.has-light-purple-background-color {
    background-color: #f4f2f5;
    padding: 2em;
}

ul.arrow-list,
ol.arrow-list,
ul.is-style-arrow,
ol.is-style-arrow,
ul.is-style-checkmarks,
ol.is-style-checkmarks {
    list-style: none;
    margin: 0; /* Apply margin: 0 directly to the ul/ol with the class */
    padding-left: 0; /* Apply padding-left: 0 directly to the ul/ol with the class */
    padding-inline-start: 0; /* Apply padding-inline-start: 0 directly to the ul/ol with the class */
}

.is-style-checkmarks li {
    padding-left: 1.2em; /* Indent the text to make space for the checkmark */
    position: relative;
    margin-bottom: 5px;
}

.is-style-checkmarks li::before {
    content: '✓';
    position: absolute;
    left: -1px;
    top: 3px;
    width: 15px;
    height: 15px;
    background-color: black;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 20px;
}
.wpcf7-form {
    background-color: #f9f6f1;
    padding: 2em;
    border-radius: 15px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    background-color: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    padding: 15px 20px !important;
    width: 100%;
    margin-bottom: 15px !important;
}

.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="text"] {
    border-radius: 100px !important;
}

.wpcf7-form .wpcf7-submit {
    background-color: #7f58a5 !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 15px 50px !important;
    font-weight: 700;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
    border: none !important;
    width: 100% !important; /* Make button full width */
}
.wpcf7-form p {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.wpcf7-form-control-wrap {
    width: 48%;
    margin-bottom: 15px;
}

.wpcf7-form-control-wrap[data-name="reason-for-contacting"],
.wpcf7-form-control-wrap[data-name="your-message"] {
    width: 100%;
}

.wpcf7-form-control {
    width: 100%;
    padding: 8px !important;
    font-size: 14px !important;
}

.wpcf7-submit {
    width: auto;
    padding: 10px 20px !important;
}
.wpcf7-form p {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.wpcf7-form-control-wrap[data-name="first-name"],
.wpcf7-form-control-wrap[data-name="last-name"],
.wpcf7-form-control-wrap[data-name="phone-number"],
.wpcf7-form-control-wrap[data-name="your-email"] {
    width: 48%;
    margin-bottom: 15px;
}

.wpcf7-form-control-wrap[data-name="reason-for-contacting"],
.wpcf7-form-control-wrap[data-name="your-message"] {
    width: 100%;
}

.wpcf7-form-control {
    width: 100%;
    padding: 8px !important;
    font-size: 14px !important;
}

.wpcf7-submit {
    width: auto;
    padding: 10px 20px !important;
}
.is-style-checkmark ul, .is-style-checkmark li {
    list-style-type: none !important;
    padding-left: 0 !important;
}

.is-style-checkmark li {
    position: relative;
    padding-left: 30px !important;
    margin-bottom: 10px !important;
}

.is-style-checkmark li:before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #8A2BE2; /* Or your preferred checkmark color */
    font-size: 20px;
}
.is-style-arrow ul, .is-style-arrow li {
    list-style-type: none !important;
    padding-left: 0 !important;
}

.is-style-arrow li {
    position: relative;
    padding-left: 30px !important;
    margin-bottom: 10px !important;
}

.is-style-arrow li:before {
    content: "➤";
    position: absolute;
    left: 0;
    top: 0;
    color: #000000; /* Black */
    font-size: 20px;
}
.is-style-circle-dot ul, .is-style-circle-dot li {
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.is-style-circle-dot li {
    position: relative;
    padding-left: 30px !important;
    margin-bottom: 10px !important;
}

.is-style-circle-dot li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 15px;
    height: 15px;
    background-color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Remove default bullet points */
.arrow-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Style the list item container */
.arrow-list li {
  display: flex;
  align-items: center; /* Vertically center the icon with text */
  margin-bottom: 12px;
  font-family: sans-serif;
}

/* Create the black circle icon */
.arrow-list li::before {
  /* The Unicode character for North East Arrow */
  content: "↗"; 
  
  /* Circle Styling */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #000; /* Black background */
  color: #fff;            /* White arrow */
  border-radius: 50%;     /* Makes it a perfect circle */
  
  /* Size adjustments */
  width: 18px;
  height: 18px;
  font-size: 11px;        /* Size of the arrow inside */
  margin-right: 10px;     /* Space between icon and text */
  font-weight: bold;
}

/* Style the text link to match the image */
.arrow-list li a {
  text-decoration: none;
  color: #2c85ba; /* Approximate blue from your image */
  font-weight: 500;
}

.arrow-list li a:hover {
  text-decoration: underline;
}

.gh-service-card:hover {
    background-color: var(--site-main-color) !important;
    color: white !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.gh-service-card:hover::before {
    content: '';
    left: -25px;
    position: absolute;
    top: 50%;
    height: 80%;
    width: 10px;
    background-color: var(--site-main-color) !important;
    z-index: 1;
    transform:translateY(-50%) translateX(0);
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.gh-service-card:hover strong,
.gh-service-card:hover p {
    color: white !important;
}

.gh-service-card:hover figure img {
    filter: brightness(0) invert(1) !important;
}
.team-member-card {
    border: 1px solid #e0e0e0;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.team-member-card img {
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-top: 15px;
}
.team-member-card {
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    min-width: 24%;
}

.team-member-card {
    border: 1px solid #e0e0e0;
    padding: 20px;
    text-align: left; /* Changed from center to left */
    margin-bottom: 20px;
    min-width: 24%;
}

.team-member-card img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-top: 15px;
}

.team-member-card h4 {
    margin-bottom: 5px; /* Adjusted margin to bring closer */
}

.team-member-card p {
    margin-top: 0; /* Adjusted margin to bring closer */
    margin-bottom: 10px; /* Keep some space below the title */
    min-height: 48px;
}
.team-member-card {
    border: 1px solid #e0e0e0;
    border-radius: 15px 0;
    padding: 20px;
    text-align: left;
    margin-bottom: 20px;
    min-width: 24%;
    background-color: #fff;
}

.team-member-card img {
    /* border-radius: 5%; */
    border-radius: 15px 0;
    width: 15vw;
    height: 15vw;
    max-height: 288px;
    max-width: 288px;
    object-fit: cover;
    margin-top: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.team-member-card h4 {
    margin-bottom: 5px;
}

.team-member-card p {
    margin-top: 0;
    margin-bottom: 10px;
}

.mr-gh-blue-background-team {
    background: linear-gradient(to bottom, transparent 200px, #d6ebf6 50px);
}

div.entry-content {
  margin-top: 75px;
}

.page-id-334 div.entry-content {
  margin-top: 0px;
}

body.home div.entry-content {
    margin-bottom: 0;
    margin-top: 0;
}

.gh-homepage-pre-pre-footer-row {
  max-width: 1000px;
}

.mr-margin-bottom-zero {
    margin-bottom: 5px;
}

.mr-margin-top-zero {
    margin-top: 5px;
}

.gh-homepage-pre-pre-footer {
    /* margin: 25px 0; */
}

.gh-homepage-pre-pre-footer img {
    max-height: 75px;
    width: auto;
}

.gh-pre-footer-wide img {
  height: 40px;
  width: auto;
}

.gh-pre-footer-tall img {
  padding: 25px 0;
  width: 100px;
}

input[type="submit"].wpcf7-submit,
.gh-learn-more-btn .wp-block-button__link,
.footer-donate-btn .wp-block-button__link {
    background-image: linear-gradient(to bottom, #7f58a5 0%, #b382b3 100%);
}


/* -------------------------------------------------------------------------- */
/*      VIDEO PLAYER COMPONENT
/* -------------------------------------------------------------------------- */
.gh-video-player-container {
    position: relative;
    width: 100%;
    margin-top: 20px; /* Added margin-top to separate from previous content */
}

.gh-video-player-cover.wp-block-cover {
    border-radius: 999px;
    overflow: hidden;
    aspect-ratio: 16 / 5; /* Adjusted aspect ratio for a slightly wider oval */
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* The gradient is now controlled by the block attributes */
}

.gh-video-player-cover.wp-block-cover .wp-block-cover__image-background {
    z-index: 1;
}

.gh-video-player-cover-container {
  margin-left: 2%;
}

.gh-video-player-cover-image-container figure {
  margin: 8px;
}

.wp-block-create-block-wrapper-link {
    line-height: 0;
}

.gh-video-player-cover.wp-block-cover .wp-block-cover__inner-container {
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.play-button-container-group {
    position: absolute;
    bottom: -55px;
    left: 33px;
    /* width: 572px; */
}

.play-button-container-group-column {
    /* width: 572px; */
}

.gh-video-player-content.wp-block-columns {
    width: 100%;
    max-width: 350px;
    margin: 0 auto; /* Center the content block within its parent */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0px;
}

.gh-video-player-missy-image {
    flex-basis: auto;
    flex-grow: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.gh-video-player-missy-image figure {
    margin: 0;
}
.gh-video-player-missy-image img {
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.5);
    object-fit: cover;
    width: 60px;
    height: 60px;
    display: block;
}

.gh-video-player-text-group {
    display: flex;
    flex-direction: row; /* Changed to row for horizontal alignment */
    align-items: center; /* Vertically center items in row */
    gap: 10px;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.gh-video-player-play-icon-blur {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.75); /* Purple color with transparency */
  z-index: 0; /* Place behind the play icon */
}

div.gh-video-icon-button-column {
  margin-left: -21px;
}

.gh-video-player-play-icon-blur-2 {
  left: -12px;
  width: 70px;
  height: 70px;
  opacity: 0.6;
}

.gh-video-player-play-icon-blur-1 {
  left: -2px;
  width: 50px;
  height: 50px;
  opacity: 0.8;
}

.gh-video-player-play-icon-container {
  position: relative;
  width: 50px; /* Adjust as needed */
  height: 50px; /* Adjust as needed */
  display: flex;
  justify-content: center;
  align-items: center;
}

.gh-video-player-play-icon {
    position: absolute;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}
.gh-video-player-play-icon figure {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gh-video-player-play-icon img {
    /* background-color: rgba(191,172,210, 0.7); /* Adjusted opacity and color for prominence */
    /* border-radius: 50%; */
    padding: 10px;
    width: 40px;
    height: 40px;
    display: block;
    transition: background-color 0.3s ease;
}

.gh-video-player-play-icon img:hover {
    /* background-color: rgba(191,172,210, 0.9); /* Slightly darker on hover */
}

.gh-video-player-text {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
}

@media (max-width: 781px) {
    .wp-block-columns.reverse-stack-mobile {
        flex-direction: column-reverse;
    }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .gh-video-player-cover.wp-block-cover {
        aspect-ratio: 16 / 7;
    }

    .gh-video-player-cover.wp-block-cover .wp-block-cover__inner-container {
        padding: 15px;
    }

    .gh-video-player-content.wp-block-columns {
        max-width: 90%;
        flex-direction: column;
        text-align: center;
    }

    .gh-video-player-missy-image {
        width: auto;
    }

    .gh-video-player-text-group {
        flex-direction: row; /* Keep icon and text side-by-side even if content column stacks */
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .gh-video-player-cover.wp-block-cover {
        aspect-ratio: 16 / 9;
    }

    .gh-video-player-missy-image img {
        width: 50px;
        height: 50px;
    }

    .gh-video-player-play-icon img {
        padding: 8px;
        width: 25px;
        height: 25px;
    }

    .gh-video-player-text {
        font-size: 0.9rem;
    }
}





/*
 * CSS styles migrated from the theme customizer "Additional CSS" into main CSS stylesheet.
 * Place at bottom of main stylesheet to ensure consistent CSS rule priority. Because the customizer loads after style.css
 */
/* Bens CSS for Sharee */
/* Sitewide styles */
h1, h2 { 
	font-weight: 200; 
}
.ben-tight-text-margin h2 {
  margin-top: 0;
  margin-bottom: -6px;
}
.ben-max-800 > * {
	max-width: 800px;
}
.testimonial-slide .title {
	color: #0177be;
}
.swiper-pagination-bullet-active {
  background-color: #0177BE;
}
.gh-service-card figure img {
	border-radius: 0;
}
/* Education Sheets */
@media screen and (max-width: 480px) {
	.ben-download-list {
	gap: 0;
	}
}
.ben-download-list h3 {
	margin-top: 0;
	height: 56.2px;
}
.ben-download-list a {
	text-decoration: none
}
.ben-download-list a:hover {
  border-bottom: 1px solid;
}
.ben-download-list a::after {
  content: "\279F";
  margin-left: 0.65rem;
}
/* Testimonial page styles */
.ben-quote-main-col {
	gap: 4%;
}
.ben-quote-box {
  box-shadow: 0px 0px 20px rgba(0,0,0,0.10);
  border-radius: 30px;
  padding: 25px;
	margin-bottom: 50px;
}
.ben-quote-2col {
  gap: 10px;
	margin-bottom: 5px;
}
.ben-quote-portrait img {
  border-radius: 75px;
  border: solid #047abc 4px;
}
.ben-quote-text {
	font-size: 1.1rem;
	font-weight: 400;
	margin-bottom: 0;
}
.ben-quote-name {
	font-size: 1.3rem;
	font-weight: bold;
  margin-bottom: 0;
}
.ben-quote-tagline {
	font-size: 0.9rem;
	color: #0077be;
	margin-top: 0;
}
/* Accordion styles */
.wp-block-create-block-grace-hospice-faq-accordion .gh-faq-question {
  border-radius: 100px;
}
.wp-block-create-block-grace-hospice-faq-accordion .gh-faq-item.active .gh-faq-question {
  background: #fbf7f3;
}
.wp-block-create-block-grace-hospice-faq-accordion .gh-faq-question::before {
  font-size: 2rem;
  font-weight: 200;
  top: 47%;
}
.wp-block-create-block-grace-hospice-faq-accordion .gh-faq-item.active .gh-faq-question::before {
  content: "_";
  font-size: 2rem;
  top: 25%;
}
/* Fix YouTube size */
.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
	width: 100%;
  padding-bottom: 56.25%;
}
.wp-embed-aspect-16-9 iframe {
	position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
}
.wp-embed-aspect-9-16 .wp-block-embed__wrapper {
	width: 100%;
  padding-bottom: 177.8%;
}
.wp-embed-aspect-9-16 iframe {
	position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
}
.ben-youtube-grid {
	align-items: normal;
	gap: 20px;
}
.ben-youtube-grid > div {
	flex-basis: 32%;
}
@media screen and (max-width: 1200px) {
	.ben-youtube-grid > div {
	flex-basis: 48%;
	}
}
@media screen and (max-width: 600px) {
	.ben-youtube-grid > div {
	flex-basis: 100%;
	}
}
.ben-youtube-grid .wp-block-embed__wrapper {
	padding: 0;
}
.ben-youtube-grid iframe[src*="youtube"] {
	height: 225px;
	width: 400px;
	position: relative;
}
/* Card url link */
a.ben-div-link {
	margin-left: -20px
}
.ben-div-link span {
  position:absolute; 
  width:100%;
  height:100%;
  top:0;
  left: 0;
  z-index: 1;
}
/* Button hover color */
.wp-block-button__link.wp-element-button:hover, #pre-header .mr-donate-button a.wp-block-button__link:hover  {
  color: #deb8d8;
}
.footer-donate-btn .wp-block-button__link:hover {
	color: #deb8d8 !important;
}
/* Mini Testimonial */
div.gh-mini-testimonial div {
	flex-direction: row !important;
	gap: 2em !important;
}
/* Blue circle checkmarks */
.gh-checklist-v2 li:before {
	top: 0.4em;
  width: 1.4em;
  height: 1.4em;
  font-size: 0.7em;
}
.gh-checklist-v2 li {
	padding-left: 1.4em;
}
.is-style-checkmarks li:before {
  background-color: #0077be;
  color: white;
  left: 0;
  top: 0.35em;
  width: 1.25em;
  height: 1.25em;
  font-size: 0.8em;
  font-weight: 900;
}
.is-style-checkmarks li {
  padding-left: 1.4em;
}
.arrow-list li:before {
	background-color: var(--site-main-color-font);
  color: white;
}

/* Blog Page for displaying Posts */
.blog-page .blog-container {
  max-width: var(--site-standard-width);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  margin: 70px auto;
  justify-content: space-around;
	gap: 10px;
}
.blog-page article {
  width: 400px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  margin: 15px 0;
  background-color: #fbf2f9;
  padding-bottom: 95px;
}
.blog-page article header {
  display: none;
} 
.blog-page article img {
  height: 300px; 
  width: 400px;
  object-fit: cover;
  object-position: center;
  transition: all .4s ease;
}
.blog-page article img:hover {
  -webkit-transform: scale(1.05) rotate(2deg);
  transform: scale(1.05) rotate(2deg);
  opacity: .8;
}
.blog-page article .entry-content {
  overflow: hidden;
  padding: 0px 15px;
  margin: 0;
}
.blog-page article footer {
  display: none;
}
.blog-page article .post-title {
  display: block;
  margin: 15px 0 5px 0;
}
.blog-page article .post-title a {
  color: var(--site-main-color-font);
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
}
.blog-page article p {
  font-size: 16px;
  margin: 0;
}
.blog-page article .read-more-btn {
  display: block;
  height: 54px;
  position: absolute;
  bottom: 20px;
  left: 15px;
}/* End of Blog Page */

/* Nav styles */
.entry-header {
	background-size: cover;
}
.main-navigation ul.sub-menu {
  padding: 10px 0;
}
.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
  display: block;
  left: 99%;
	top: -10px;
}
.main-navigation ul ul ul a {
	width: auto
}
#masthead {
	flex-direction: column;
	position: relative;
}
.cursor-pointer {
	cursor: pointer;
}
@media screen and (min-width: 1350px){
	.main-navigation ul ul ul a {
	text-wrap: nowrap;
}
}
/* Desktop styles */
@media screen and (min-width: 600px) { #secondary-menu {
		display: none;
	}
	.site-branding {
  align-self: flex-start;
  position: absolute;
	top: 0px;
	}
	#pre-header {
		padding: 3.5px 0;   
	}
	#masthead { 
		margin: 20px auto;  
		gap: 6px;
		}
}
.ben-display-none {
	display: none !important;
}
/* .nav-menu-flex {
  display: flex;
  flex-direction: column;
} */
.main-navigation {
  align-self: flex-end;
}
/* Pre-header styles */
#pre-header {
  background-color: #fff;
	align-self: flex-end;
}
#pre-header .wp-block-navigation-item a, #pre-header .wp-block-navigation-item__label {
  color: var(--site-main-color-font);
	font-size: 14px;
  font-weight: 400;
}
#pre-header p {
  font-size: 14px;
}
#pre-header p a {
	color: #0177be;
}
.gh-pre-pre-header-text-1 {
	color: #0177be;
	font-weight: 400;
}
#pre-header a:hover, #pre-header a span:hover, #pre-header  .current-menu-item a span{
  color: #d89cc6;
}
#pre-header .mr-donate-button a.wp-block-button__link {
	background-color:  var(--site-main-color-font);
	border-radius: 5px;
	padding: 0 4px;
	font-weight: 400;
}
#modal-1-content, #pre-header .wp-block-group {
  gap: 30px;
}
#pre-header div.ben-nav-phone {
	gap: 10px;
}


/* Mobile Nav styles */
@media screen and (max-width: 600px) { 
	/* Mobile cursive text shrink to prevent word breaking */
	p.ben-shrink-text-mobile {
  font-size: 2.4rem !important;
	}
	/* Pre-Nav */
	#pre-header {
		padding-bottom: 20px;
    order: -1;
    width: 100%;
	}
	#pre-header .wp-block-group {
  flex-wrap: wrap;	
	gap: 10px 20px;
	justify-content: space-between;
	}
	#pre-header nav {display: none;}
	/* Main Nav mobile styles, (might need to check what styles are no longer needed) */
	#masthead {
		position: relative;
    align-items: flex-start;
    flex-direction: column;
	}
	#secondary-menu {
		margin-bottom: 15px;
	}
	#secondary-menu a {
		font-weight: normal;
	}
	.main-navigation {
		width: 100%;
	}
	.main-navigation li {
		padding: 0px 0px;
	}
	#masthead .site-branding {
		margin-left: 10px;
	}
	.main-navigation ul a, .main-navigation ul ul a, .main-navigation ul ul ul a {
  	width: 100%;
		line-height: 40px;
		padding-right: 20px;
		padding-left: 20px;
	}
	.main-navigation ul ul a {
		padding-left: 40px
	}
	.main-navigation ul ul ul a{
		padding-left: 60px
	}
	.main-navigation ul.sub-menu {
		display: none;
		box-shadow: none;
  	float: none;
  	position: static;
		border-radius: 0;
		background-color: #f6f6f6;
		padding: 0;
	}
	.main-navigation ul ul ul.sub-menu {
		background-color: #eaeaea;
	}
 .main-navigation ul li.menu-item-has-children.focus > ul  {
		display: block;
		width: 100%;
	}
	.main-navigation li.menu-item-has-children > a:after {
	content: "";
    border: solid; 
		border-color: var(--site-main-color-font);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
    margin: 2px 0px 2px 7px;
	}
	.main-navigation li.menu-item-has-children.focus > a:after{
		transform: rotate(45deg);
	}
	/* Menu toggle button */
	.menu-toggle {
		background-image: linear-gradient(to bottom, #7f58a5 0%, #b382b3 100%);
  fill: #fff;
  padding: 21px 13px;
  line-height: 0;
  border: none;
	position: absolute;
  right: 10px;
  top: 54px;
	}
	.menu-toggle span {
    background: #fff;
    display: block;
    height: 2px;
    width: 18px;
    position: relative;
	}
	.menu-toggle span:before, .menu-toggle span:after {     
    background: #fff;
    display: block;
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    transition: all .2s ease-out;
	}
	.menu-toggle span:before {
	top: 7px;}
	.menu-toggle span:after {
	top: -7px;}
		/* Button animation */
	.toggled .menu-toggle span:before, .toggled .menu-toggle span:after {
		top: 0;
	}
	.toggled .menu-toggle span {
	background: transparent;
	}
	.toggled .menu-toggle span:after {
	transform: rotate(45deg);
	}
	.toggled .menu-toggle span:before {
	transform: rotate(-45deg);
	}
	/* Nav Menu overlay */
	.menu-topmost-header-container {
		display: none;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		overflow: hidden auto;
		z-index: 10;
		background-color: #fff;
		padding-top: 45px;
	}
	.main-navigation.toggled .menu-topmost-header-container {
		display: block;
	}
	body.mobileMenuOpen {
	max-height: 100vh;
  max-width: 100vw;
  overflow: hidden;
	}
	.main-navigation.toggled .menu-toggle {
	top: 2px;
	z-index: 11;
	}
} /* END of max-width 600px */

/* Hero image overlay */
@media screen and (max-width: 600px) {
		.wp-block-create-block-hero-split-overlay .hero-split-overlay-background-image {
  left: 0%;
  width: 100%;
	}
}
@media screen and (min-width: 600px) and (max-width: 850px) {
.wp-block-create-block-hero-split-overlay .hero-split-overlay-background-image {
  left: 30%;
  width: 70%;
	}
}

@media screen and (min-width: 782px) and (max-width: 1100px) {
	.mr-gh-refer-patient-image {
		float: none !important;
		margin: auto !important;
	}
}

/* Adds a thin space for Mobile, touching as little as possible */
@media screen and (max-width: 767px) {
	.entry-header {
		padding-left: 10px;
	}
	.entry-content {
		padding-right: 10px;
		padding-left: 10px;
	}
	.alignfull {
		padding-right: 10px;
		padding-left: 10px;
	}
}
/* YouTube testimonial clicker and video overlay */
@media (max-width: 768px) {
 .gh-video-player-content.wp-block-columns {
    max-width: 100%;
    flex-direction: row;
    flex-wrap: nowrap !important;
    }
.gh-video-player-cover.wp-block-cover .wp-block-cover__inner-container {
    padding: 0px;
  }
  .gh-video-player-text-group {
    margin-top: 0px;
		padding-right: 15px;
	}
	.play-button-container-group {
  width: 250px;
	}
	.play-button-container-group > div > div {
	flex-basis: 100% !important;
	}
}

/* Single Post styles */
.single-post .post-content {
	display: flex;
  max-width: var(--site-standard-width);
  margin: 40px auto;
	justify-content: space-between;
	gap: 40px;
}
@media screen and (max-width: 1024px) {
	.single-post .post-content {
		flex-direction: column;
		padding: 0 10px;
	}
}

/* Target mobile devices */
@media (max-width: 767px) {
  /* Target the flex container immediately inside your custom class */
  .mr-gh-group-with-image > .wp-block-group {
    flex-wrap: wrap !important;
    /* This changes the layout to vertical and reverses the order */
    flex-direction: column-reverse !important; 
  }

  /* Ensure the text and image groups take up the full width when stacked */
  .mr-gh-group-with-image .gh-best-center-text,
  .mr-gh-group-with-image .gh-nurse-image-container {
    width: 100% !important;
    flex-basis: 100% !important; 
  }
  
  /* Optional: Add a little breathing room between the image and the text once they stack */
  .mr-gh-group-with-image .gh-nurse-image-container {
      margin-bottom: 30px !important; 
  }
  .footer-donate-btn .wp-block-button {
    width: unset !important;
  }
}

/* Mid-size screens (Tablets/Small Laptops) */
@media screen and (min-width: 600px) and (max-width: 850px) {
    .wp-block-create-block-hero-split-overlay .hero-split-overlay-background-image {
        left: 30%;
        width: 70%;
    }
}

/* Mobile screens (Phones) */
@media screen and (max-width: 599px) {
    .wp-block-create-block-hero-split-overlay .hero-split-overlay-background-image {
        left: 0%;
        width: 100%;
	background-position: 40% 50% !important;
    }

    .mr-gh-trusted-section-spacer {
	display: none;
    }

    .gh-homepage-pre-pre-footer {
	flex-direction: column;
	gap: 30px;
    }

    .gh-homepage-pre-pre-footer img {
	max-height: 50px;
    }

    .mr-gh-refer-patient-image {
	float: none !important;
	margin: auto !important;
    }

}

@media screen and (max-width: 500px) {
	.team-member-card {
		width: 95vw;
	}

	.team-member-card img {
		height: 100%;
		width: 100%;
	}
}

.single-post .post-content .entry-content {
	margin-top: 25px;
}
.width-66 {
	flex-basis: 66%;
}
.single-post .post-content hr {
	margin: 50px 0;
}
/* Post featured img */
.single-post .post-thumbnail {
	width: 100%;
}
.single-post .post-thumbnail img {
	border-radius: 50px;
}
/* Comments section */
.single-post .post-navigation, .comments-area {
	width: 100%;
	margin: 24px 0;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
	display: block;
  width: 100%;
  border-color: var(--site-main-secondary-color, #e09ad6);
}
.comments-area .form-submit input.submit {
	background-image: linear-gradient(to bottom, #7f58a5 0%, #b382b3 100%);
	background-color: #7f58a5;
  border-radius: 50px;
  padding: 15px 32px;
	color: white;
  font-weight: 400;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: normal;
	transition: all 0.3s ease;
}
.comments-area .form-submit input.submit:hover {
	transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
	color: #deb8d8;
}
.comment-reply-title {
	font-size: 3rem;
	margin: 1rem 0;
}
/* Sidebar */
#secondary {
	flex-basis: 30%;
}
#secondary section {
	width: 100%;
	border: 1px solid;
	border-color: var(--site-main-secondary-color, #e09ad6);
	border-radius: 20px;
	padding: 0px 20px;
}
#secondary #block-3 {
	position: sticky;
	top: 40px;
}
#secondary h2 {
	text-align: center;
	font-weight: normal;
}
#secondary ul {
	margin: 0;
}
#secondary .wp-block-latest-posts__featured-image img {
	width: 100px;
  height: 75px;
  object-fit: cover;
  object-position: center;
	border-radius: 15px;
}
#secondary ul a {
	color: var(--site-main-color-font);
	text-decoration: none;
}
#secondary ul a:hover {
	color: var(--site-main-secondary-color);
}
/* Hides the Post footer holding category & edit links  */
.single-post .entry-footer {
	display: none;
}
/* Hides comment section on Single Posts */
.single-post #comments {
	display: none;
}
/* End of Bens CSS 
 * Placed at bottom of main stylesheet to ensure consistent CSS rule priority. Because the customizer loads after style.css 
 */

/* WooCommerce */
.mr-gh-products .wc-block-components-product-image img {
    max-width: 40%;
    margin: 0 32%;
    contain: size !important;
    contain-intrinsic-size: 300px 150px;
}

.mr-gh-baseline-mod {
   line-height: 35px;
}

/* Make cards bigger overall, but with tighter background padding */
.mr-gh-product-card ul.wc-block-product-template li.wc-block-product {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background-color: #f7f6fb; 
    border-radius: 20px;       
    
    /* REDUCED PADDING: Brings the background closer to the books */
    padding: 20px 20px;        
    box-sizing: border-box;
    
    /* INCREASED WIDTH: Allows the whole card and image to grow larger */
    max-width: 480px;          
    
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Hover effect */
.mr-gh-product-card ul.wc-block-product-template li.wc-block-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Slightly tighter spacing between the book and the text to match */
.mr-gh-product-card ul.wc-block-product-template li.wc-block-product .wp-block-post-title {
    margin-top: 15px !important; 
}

/* 1. Hide the original button text ONLY for the 'book' category */
.mr-gh-product-card li.product_cat-book .add_to_cart_button span {
    font-size: 0 !important; 
}

/* 2. Add "Get a Copy" text ONLY for the 'book' category */
.mr-gh-product-card li.product_cat-book .add_to_cart_button span::after {
    content: "Get a Copy";
    font-size: 15px !important; /* Adjust if needed */
    visibility: visible;
}

@media screen and (max-width: 782px) {

	.mr-music-page-icons-column figure.wp-block-image,
	.mr-music-page-icons-column .wp-block-column {
		flex-direction: column;
		align-items: center;
	}

	.mr-music-page-icons-column figure.wp-block-image {
		display: flex;
		margin: 0;
	}

	.mr-music-page-icons-column .wp-block-column {
		display: flex;
	}

	.mr-music-page-icons-column figure.wp-block-image img {
		float: none;
	}
}

