/* blogs home */
.blog-search {
	border-radius: 3.125rem;
	padding-left: 1.5625rem;
	padding-right: 1.5625rem;
	padding-top: 8px;
	padding-bottom: 8px;
	min-height: 40px;
	width: 40vw;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.6;
	appearance: none;
	border: 0px;
	font-family: inherit;
	font-style: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	margin-left: 1.5625rem !important;
	margin-right: 1.5625rem !important;
	margin-bottom: 50px !important;
	min-width: 3rem;
	text-decoration: unset !important;
	text-transform: inherit;
}
.latest-blogs-container {
	max-width: 90%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0px;
	padding-right: 0px;
	border-radius: 100px;
	outline: 2px solid var(--color-near-black);
	outline-offset: 10px;	
}

.latest-blogs-bendie-edit.is-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
	max-width: 90% !important;
	box-sizing: border-box;
	clip-path: inset(0 round 20px);
	margin-left: auto;
	margin-right: auto;
    gap: 20px;
    padding-bottom: 10px;
	margin-top: 15px;
}

.latest-blogs-bendie-edit.is-grid li {
    flex: 0 0 350px;
    margin: 0;
	scroll-snap-align: start;
}
.latest-blogs-bendie-edit.is-grid .latest-post-thumb {
	border-radius: 20px;
	
}
.older-blogs-tag {
	text-align: right;
}
.older-blogs-tag img {
	height: 1lh;
	position: relative;
	transform: translateY(30%);
	margin-left: 10px;
}

/* single post template */
.single-post .h2-heading-size {
	margin-left: -5vw !important;
}

.blog-featured-img img {
	object-fit:  contain !important;
	display: block !important;
	height: auto !important;
	width: auto !important;
	max-height: 500px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	border-radius: 40px !important;
}
/* comment template changes */
	.wp-block-comment-template .comment.depth-1 {
		background-color: var(--color-white-orange);
		border-radius: 50px;
		padding: 10px;
		margin-top: 10px;
		margin-bottom: 10px;
		
	}
	.wp-block-comment-template .comment.depth-2 {
		background-color: var(--color-light-orange);
		border-radius: 40px;
		padding: 10px;
		margin-top: 5px;
		margin-bottom: 5px;
		box-shadow: 4px 4px 10px 4px rgba(0, 0, 0, 0.15);
	}
	.wp-block-comment-template .comment.depth-3 {
		background-color: #ffd5a9;
		border-radius: 30px;
		padding: 10px;
		padding-bottom: 2px;
		margin-top: 2px;
		margin-bottom: 2px;
		box-shadow: 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
	}
	/* copy of bendie button style for submit comment button */
	.bendie-edit-comments-form input.wp-element-button {
		display: inline-block;
		color: black;
		background-color: var(--color-easy-orange);
		border-radius: 20px;
		padding-top: 1rem;
		padding-right: 2rem;
		padding-bottom: 1rem;
		padding-left: 2rem;
		text-decoration: none;
		font-family: var(--wp--preset--font-family--lazydog);
		text-align: center ;
		font-size: clamp(1.6rem, 1.4rem + ((1vw - 0.2rem) * 1.1), 1.9rem) !important;
		font-style: normal;
		font-weight: 400;
		letter-spacing: -0.1px;
		margin: auto;
		text-wrap: nowrap;
		position: relative;
		overflow: visible !important;
		transition: transform 0.1s ease;
	}
	.bendie-edit-comments-form .wp-block-button {
		position: relative;
		display: inline-block;
		transition: transform 0.1s ease;
	}
	.bendie-edit-comments-form .wp-block-button::before {
		content: '';
		width: 45%;
		height: 50%;
		pointer-events: none;
		border-top-left-radius: 15px;
		border-bottom-right-radius: 0px;
		border: 2px solid black;
		border-bottom: hidden;
		border-right: hidden;
		position: absolute;
		top: -5%;
		left: 2%;
		z-index: 100;
		transition: width 0.5s ease, height 0.5s ease, top 0.1s ease, left 0.1s ease;
	}
	.bendie-edit-comments-form .wp-block-button::after {
		content: '';
		width: 40%;
		height: 75%;
		pointer-events: none;
		border-bottom-right-radius: 15px;
		border-top-left-radius: 0px;
		border: 2px solid black;
		border-top: hidden;
		border-left: hidden;
		position: absolute;
		bottom: -7%;
		right: 1%;
		z-index: 10;
		transition: width 0.5s ease, height 0.5s ease, bottom 0.1s ease, right 0.1s ease;
	}
	.bendie-edit-comments-form .wp-block-button:hover {
		filter: contrast(1.2);
		transform: scale(1.2);
	}
	.bendie-edit-comments-form .wp-block-button:hover::before {
		width: 65%;
		height: 18%;
	}
	.bendie-edit-comments-form .wp-block-button:hover::after {
		width: 60%;
		height: 24%;
	}
	.bendie-edit-comments-form .wp-block-button:active {
		transform: translateY(5px);
		filter: brightness(0.9);
	}
	.bendie-edit-comments-form .wp-block-button:active::before	{
		top: -20%;
		left: -15%;
	}
	.bendie-edit-comments-form .wp-block-button:active::after {
		bottom: -15%;
		right: -10%;
	}
	.bendie-edit-comments-form .wp-block-button:focus,
	.bendie-edit-comments-form .wp-block-button:focus-visible {
		outline: none;
		box-shadow: none;
	}

/* Phone screen styles */
@media only screen and (max-width: 550px) {
	/* blogs home */
	.blog main.page-section {
		position: relative;
	}
	.blog-search {
		display: block;
		width: 100% !important;
		box-sizing: border-box !important;
		margin-left: auto !important;
		margin-right: auto !important;
		
	}
	.latest-blogs-section {
		padding-right: 0 !important;
	}
	.latest-blogs-container {
		padding-top: 20px;
		border-radius: 50px;
		margin-top: 20px !important;
		margin-bottom: 50px !important;
		outline-offset: 0px !important;
	}
	.latest-blogs-bendie-edit.is-grid {	
		flex-direction: column;
	}
	.latest-blogs-bendie-edit.is-grid li {
		flex: 0 0 300px;
	}
	.latest-blogs-bendie-edit.is-grid li .latest-post-thumb {
		width: 100% !important;
	}
	.older-blogs-tag {
		display: none;
	}
	
	
	/* Single post template */
	.wp-singular.single-post article > * {
		max-width: 85% !important;
		width: 85% !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.wp-singular.single-post article .entry-content > * {
		max-width: 100% !important;
		width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.wp-block-comments {
		max-width: 90% !important;
	}
	.single-post .wp-block-comments .h2-heading-size {
		margin-left: 0px !important;
	}
	.wp-block-comment-template .comment.depth-1 ol {
		padding-left: 1rem !important;
	}
	.wp-block-comment-template .p-comment-normal-size {
		padding-left: 0px !important;
	}
	.bendie-edit-comments-form input.wp-element-button {
		font-size: clamp(1.3rem, 1.3rem + ((1vw - 0.2rem) * 0.392), 1.5rem) !important;
	}
}

/* Older, really small phone screen styles */
@media only screen and (max-width: 380px) {
	.wp-singular.single-post article > * {
		max-width: 90% !important;
		width: 90% !important;
	}
	.wp-block-comments {
		max-width: 95% !important;
	}
}