/* 1. Shrink the featured image blocks on the homepage grid */
.posts .post-container .featured-media img,
.posts .masonry-posts .featured-media img,
.posts .featured-media img {
	max-height: 160px !important;
	object-fit: cover !important;
	width: 100% !important;
}

/* 2. Shrink the excerpt text section on the homepage grid */
.posts .post-container .post-excerpt,
.posts .post-container .post-excerpt p {
	font-size: 13px !important;
	line-height: 1.4 !important;
}

/* Add curved corners to the homepage post cards */
.post, .post-container, .featured-media img {
	border-radius: 20px !important;
}

/* Hide the comments icon and link on the post cards */
.post-meta .post-comments, 
.post-header .post-comments {
	display: none !important;
}

/* 1. Reset any conflicting theme borders and apply the soft shadow to the main card container only */
.posts .post, 
.masonry-posts .post {
	border: none !important;
	background: #ffffff !important;
	border-radius: 8px !important;
	box-shadow: 6px 6px .5px rgba(0, 0, 0, 0.2) !important;
}

/* 2. Round the top corners of the image container to match the card curve */
.posts .post .featured-media, 
.posts .post .featured-media img {
	border-top-left-radius: 8px !important;
	border-top-right-radius: 8px !important;
}	
}

/* Force the header logo to display larger */
.header .logo img,
.header .logo a img,
.logo img {
	max-height: 160px !important;
	height: auto !important;
	width: auto !important;
}

/* Open up the container height to accommodate the larger logo */
.header .logo {
	max-height: 160px !important;
	height: auto !important;
}

/* Force all images inside your gallery pages to be uniform squares with rounded corners */
.wp-block-gallery .wp-block-image img, 
.blocks-gallery-item figure img, 
.gallery-item img {
	aspect-ratio: 1 / 1 !important;
	object-fit: cover !important;
	border-radius: 12px !important;
	width: 100% !important;
	height: 100% !important;
}

/* Force gallery blocks to display uniform squares with rounded corners */
.wp-block-gallery .wp-block-image img,
figure.wp-block-image img,
.gallery-item img,
.wp-block-gallery li img {
	aspect-ratio: 1 / 1 !important;
	object-fit: cover !important;
	border-radius: 12px !important;
	width: 100% !important;
	height: 100% !important;
}

/* Apply the postcard frame, curve, and shadow to every gallery item */
.wp-block-gallery .wp-block-image,
.wp-block-gallery .gallery-item {
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	border-radius: 8px !important;
	box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.05) !important;
	overflow: hidden !important;
	padding: 0 !important;
}

/* Ensure the images themselves bend smoothly inside the new frame */
.wp-block-gallery .wp-block-image img,
.wp-block-gallery .gallery-item img {
	border-radius: 7px !important;
	display: block !important;
}

/* Remove the page title text only from the Gallery page */
.page-id-2041 .page-title,
.page-id-2041 .entry-title {
	display: none !important;
}

/* Deep target to hide the title on banner headers completely */
.header-search-wrapper + .page-header .page-title,
.header-wrapper .page-title,
.header .page-title,
h1.page-title {
	display: none !important;
}

/* Definitive fix to hide the title text over the gallery page banner */
.page-id-2041 .header-wrapper .header-title {
	display: none !important;
}

/* Direct, un-nested target to completely hide the banner title text */
.header-wrapper h1.page-title,
.page-title-container h1,
h1.page-title,
.header-title h1 {
	display: none !important;
}

/* The actual target for Baskerville 2's page header title block */
.page-id-2041 .page-header {
	display: none !important;
}