/*!
Theme Name: Kadence Child
Theme URI: https://bowdenworks.com
Template: kadence
Author: Bowden Works
Author URI: https://bowdenworks.com
Description: Kadence child theme
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/






/* Style for post titles */
.archive .entry-title, .blog .entry-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

/* Separator for meta data */
body.category .entry-meta {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Style for post thumbnail images */
body.category .post-thumbnail img {
    border-radius: 0px;
    transition: transform 0.3s ease;
}

/* Hover effect for thumbnail images */
body.category .post-thumbnail img:hover {
    transform: scale(1.05);
}

/* Style for read more button or links */
body.category .entry-content a {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* Hover effect for read more button */
body.category .entry-content a:hover {
    /* No additional styles */
}

/* Custom post grid with border separator for homepage - JY */
@media (min-width: 1025px) {
	.bw_custom-postgrid-with-border-divider article {
	padding-right: 24px;
	border-right: solid 1px var(--global-palette7);
	text-align: center;
}
.bw_custom-postgrid-with-border-divider .kt-blocks-post-grid-item .kt-blocks-post-top-meta {
	justify-content: center;
}
.bw_custom-postgrid-with-border-divider article:last-child {
	border-right: none;
}
}
.bw_custom-postgrid-with-border-divider .kt-blocks-post-grid-item .kt-blocks-post-top-meta a {
	text-decoration: none;
}


/* Custom post block with vertical layout and no thumbnail - JY */
.bw_post-grid-vertical-layout-no-thumbnail article:last-child {
	border-bottom: none;
}

/* Post block read more no icon - JY */
.wp-block-kadence-posts a.post-more-link .kadence-svg-iconset {
	display: none;
}

/* Polishing - AP */
.wp-block-kadence-posts .entry-meta .author-avatar img, .entry-meta .author-avatar img{
	border: solid 2px var(--global-palette2);
}
.wp-block-kadence-posts .loop-entry .entry-header .entry-meta{
	color: var(--global-palette6);
	font-family: 'Noto Sans', sans-serif;
	text-decoration: none;
}
.wp-block-kadence-posts .entry-taxonomies a{
	font-family: 'Noto Sans', sans-serif;
	letter-spacing: 2px;
	color:var(--global-palette6);
}

/* Block Posts - JY */
.wp-block-kadence-posts.grid-lg-col-1.item-image-style-beside article.loop-entry.has-post-thumbnail:not(.kb-post-no-image) {
	grid-template-columns: minmax(0, 2fr) minmax(0, 2fr)
}

/* Hide required field extra text - AP */
.gform_required_legend{
	display: none;
}

/* Sidebar Featured Posts - JY */
.bw_sidebar-featured-posts article {
	display: flex;
}
.bw_sidebar-featured-posts .kt-blocks-post-grid-item:nth-child(-n+5)::before{
  display: inline-flex;
  font-weight: bold;
  color: var(--global-palette6);
	font-size: 32px;
	font-style: italic;
	width: 15%;
}
.bw_sidebar-featured-posts .kt-blocks-post-grid-item:nth-child(1)::before { content: "1"; }
.bw_sidebar-featured-posts .kt-blocks-post-grid-item:nth-child(2)::before { content: "2"; }
.bw_sidebar-featured-posts .kt-blocks-post-grid-item:nth-child(3)::before { content: "3"; }
.bw_sidebar-featured-posts .kt-blocks-post-grid-item:nth-child(4)::before { content: "4"; }
.bw_sidebar-featured-posts .kt-blocks-post-grid-item:nth-child(5)::before { content: "5"; }

/* Entry author - JY 
.entry-author {
	border: solid 1px var(--global-palette6);
	border-radius: 5px;
	padding: 24px;
  background: var(--global-palette9);
}*/

/* Author blog post - AP */
@media screen and (min-width: 767px) {
    .entry-author-style-center .entry-author-profile .entry-author-description {
        max-width: 50%!important;
    }
}

/* Author description - Archive - AP */
.archive-description{
	color: var(--global-palette9);
}

/* text decoration set to none - JY */
.bw_no-text-decoration a {
	text-decoration: none;
}

/* single post meta - JY */
.single .category-links a {
	color: var(--global-palette6);
}

/* blog archive meta - JY */
.blog .category-links a {
	color: var(--global-palette6);
}
.archive span.category-links.term-links.category-style-normal a {
    color: gray;
}

.dots-background{
	padding: 0px 10px 5px!important;
	background-image: 
        linear-gradient(45deg, #eee 25%, transparent 25%, transparent 50%, #eee 50%, #eee 75%, transparent 75%, transparent);
    background-size: 10px 10px; /* Adjusts spacing of the dashes */
}

/* Style H2 for homepage */
.bw_category_heading{
	font-size: 1.1em;
	text-align: left;
  font-weight: 500;
  font-family: Poppins;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.bw_category-view-all{
	background: transparent!important;
	color: var(--global-palette1)!important;
	font-style: italic!important;
	font-family: Libre Baskerville!important;
	font-size: 0.9em!important;
	text-decoration: underline!important;
	letter-spacing: 0!important;
	padding: 0!important;
}
.bw_category-view-all:hover{
	color: var(--global-palette2)!important;
	box-shadow: none!important;
}

/* Newsletter subscribe modal - JY */
.bw_newsletter-modal .gform_footer {
	display: flex;
	justify-content: center;
}
.bw_newsletter-modal .gform_footer .button {
	padding: 24px 35px;
	background: transparent;
	border: solid 2px var(--global-palette1);
	color: var(--global-palette3);
	letter-spacing: 0.3em;
}
.bw_newsletter-modal .gform_footer .button:hover {
	background: var(--global-palette1);
	color: var(--global-palette9);
	border: 2px solid var(--global-palette1);
}

/* Archive page - JY */
.archive .content-container, .blog .content-container, .archive .hero-container, .blog .hero-container {
	padding: 3em!important;
}
/* Excerpt */
.archive .entry-summary, .blog .entry-summary {
	font-size: 14px;
}
.archive .post-more-link, .blog .post-more-link {
	font-weight: normal;
    letter-spacing: .05em;
    text-transform: capitalize;
    font-size: 1em;
    font-style: italic;
    text-decoration: none;
    color: var(--global-palette6);
    font-family: 'Cormorant Garamond';
}
.archive .post-more-link:hover, .blog .post-more-link:hover {
	color: var(--global-palette7);
}
/* end */

/* BW post carousel - JY */
.bw_post-carousel .splide__arrows {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 14px;
	padding-bottom: 12px;
}
.bw_post-carousel .kb-splide .splide__arrow {
	position: relative;
	transform: unset;
	color: var(--global-palette1);
	opacity: 1;
}
.bw_post-carousel .kb-splide button {
	background: transparent;
	padding: 0;
}
.bw_post-carousel .kb-splide .splide__arrow--next {
	right: 0;
}
.bw_post-carousel .kb-splide .splide__arrow:hover, .bw_post-carousel .kb-splide .splide__arrow:focus {
	background: transparent;
	color: var(--global-palette2);
}

/* WP Popular post styling - JY */
.home .wpp-date {
	text-transform: uppercase;
	font-family: Poppins;
	font-size: 0.625rem;
	color: var(--global-palette6);
	letter-spacing: .1em;
}
.home .wpp-list {
	padding: 24px 0;
}
.home .wpp-post-title {
	font-family: Cormorant Garamond;
	font-size: 1.3em;
	color: var(--global-palette3);
	text-decoration: unset;
	line-height: 1.2em;
	font-weight: 600;
}
.wpp-thumbnail {
    width: 35%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.wpp-list li {
	margin-bottom: 2rem;
}
/* WP Popular posts responsive mobile - JY */
/* Mobile: < 768px */
@media (max-width: 767px) {
	.wpp-thumbnail {
		width: 100%;
		padding-bottom: 24px;
	} 
	.home .wpp-post-title {
		display: block;
		margin-bottom: 8px;
	}
}
/* Force text align to center - JY */
.bw_text-align-center {
	text-align: center;
}

/* Recaptcha */
.gfield_captcha_container img{
	display: inline-flex;
}