/*
Theme Name:     Knitting with Chopsticks
Theme URI:      http://restored316designs.com/
Template:       kadence
Author:         Restored 316 // Lauren Dierschke
Author URI:     http://estored316designs.com/
Description:    A mobile responsive Custom WordPress theme built for the Kadence Framework by Lauren Dierschke of Restored 316.
Version:        1.0.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Theme customization starts here
-------------------------------------------------------------- */

@font-face {
    font-family: 'Halo';
    src: url('fonts/HaloHandletter.woff2') format('woff2'),
        url('fonts/HaloHandletter.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

a,
.kb-button,
a span,
a:not(.post-more-link),
.search-toggle-open,
.recipe-tabs .kt-acccordion-button-label-show {
	-webkit-transition: all .25s ease-in-out !important;
	transition: all .25s ease-in-out !important;
	text-underline-offset: 5px;
}

.link-style-color-underline .entry-content p a, 
.link-style-color-underline .entry-content strong>a, 
.link-style-color-underline .entry-content em>a, 
.link-style-color-underline .entry-content>ul a, 
.link-style-color-underline .entry-content ul.wp-block-list li a, 
.link-style-color-underline .entry-content>ol a, 
.link-style-color-underline .entry-content .wp-block-group ul a, 
.link-style-color-underline .entry-content .wp-block-group ol a {
	text-decoration-thickness: 2px;
}

.link-style-color-underline .entry-content p a, 
.link-style-color-underline .entry-content strong>a, 
.link-style-color-underline .entry-content em>a, 
.link-style-color-underline .entry-content>ul a,
.link-style-color-underline .entry-content ul.wp-block-list li a, 
.link-style-color-underline .entry-content>ol a, 
.link-style-color-underline .entry-content .wp-block-group ul a, 
.link-style-color-underline .entry-content .wp-block-group ol a {
    color: inherit;
    text-decoration-color: var(--global-palette-highlight);
}

.link-style-color-underline .entry-content ul.wp-block-list li a:hover {
	text-decoration-color: var(--global-palette-highlight-alt);
}

::selection {
	background: var(--global-palette3);
	color: var(--global-palette9);
}

.comment-form input:placeholder-shown+label,
.comment-form textarea:placeholder-shown+label,
.comment-form .comment-input-wrap p label,
.comment-form p.comment-form-float-label label,
.comment-form input:placeholder-shown+label,
.comment-form textarea:placeholder-shown+label,
.search-form input[type="search"],
.search-form input.search-field {
	color: var(--global-palette3) !important;
	border-color: var(--global-palette3) !important;
}

.drawer-content input[type="search"]::-webkit-input-placeholder {
	font-size: inherit !important;
}

input[type="text"]:not(.kb-text-style-field),
input[type="email"]:not(.kb-text-style-field), input[type="url"]:not(.kb-text-style-field), input[type="password"]:not(.kb-text-style-field), input[type="search"]:not(.kb-text-style-field),
input[type="number"]:not(.kb-text-style-field), input[type="tel"]:not(.kb-text-style-field),
input[type="date"]:not(.kb-text-style-field), input[type="month"]:not(.kb-text-style-field), input[type="week"]:not(.kb-text-style-field), input[type="time"]:not(.kb-text-style-field), input[type="datetime"]:not(.kb-text-style-field), input[type="datetime-local"]:not(.kb-text-style-field), input[type="color"]:not(.kb-text-style-field),
textarea:not(.kb-text-style-field),
select:not(.kb-text-style-field) {
	border: 1px solid var(--global-palette3) !important;
}

.wp-block-search input[type="search"]:not(.kb-text-style-field) {
	border: 0px !important;
}

.loop-entry .entry-content-wrap {
	padding: 1rem;
}

.grid-cols {
    column-gap: 1.5rem;
    row-gap: 1.5rem;
}

.pagination .page-numbers {
	border-radius: 100%;
}

.pagination .nav-links {
	text-align: center;
}

.video .entry-title::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background: url(images/video.svg) no-repeat center center;
  background-size: contain;
  vertical-align: middle;
}

.post-signature {
    text-align: left;
    margin-top: 2rem;
}


/* List Styles
--------------------------------------------- */

/* === ORDERED LIST (NUMBERED) === */

.single-content ol {
  position: relative;
  list-style-type: none;
  padding-left: 35px;
}

.single-content ol:not(.is-style-continue-list) {
  counter-reset: countlist;
}

.entry-content ol li {
  margin: 0.5em 0;
  counter-increment: countlist;
  position: relative;
  list-style-type: none;
  padding-left: 0;
  text-indent: 0;
}

.single-sfwd-lessons .single-content ol li::before {
	display: none;
}

.single-content ol li::before {
  content: counter(countlist);
  color: var(--global-palette9);
  font-size: 0.75rem; /* smaller number font */
  font-weight: 700;
  position: absolute;
  --size: 28px;
  left: calc(-1 * var(--size) - 10px);
  line-height: var(--size);
  width: var(--size);
  height: var(--size);
  top: 4px;
  background: var(--global-palette1);
  border-radius: 100%;
  text-align: center;
  padding: 0;
}


/* === UNORDERED LIST (BULLET LIST) === */

.single-content ul,
.wp-block-query ul {
  padding-left: 15px;
  margin-left: 0;
}

.single-content .wprm-recipe ul {
  padding-left: 0;
}

.single-content ul li {
  list-style-type: disc;
  position: relative;
}

.single-content ul li::marker {
  color: var(--global-palette1);
}

.wp-block-query ul li::marker {
  color: transparent;
}

ul.is-style-split-list{
	display: grid;
    grid-column-gap: 20px;
	grid-template-columns: repeat(2, 1fr);
}

@media only screen and (max-width: 767px) {
	
	ul.is-style-split-list{
	grid-template-columns: repeat(1, 1fr);
}

}

.mobile-header-button-wrap .mobile-header-button-inner-wrap .mobile-header-button {
  text-align: center;
}


/* Color Rotating Focused Menu Item
------------------------------------------------------------ */

.colorful-focus > a,
.focus > a {
  font-family: 'Jost', sans-serif;
  font-size: 25px !important;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 !important;
}

.colorful-focus > a span,
.focus > a span {
  transition: color 0.3s ease;
}

/* Menu Block
--------------------------------------------- */

.wp-block-navigation-item {
	width: 100%;
}

.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle,
.wp-block-navigation-item.open-on-hover-click a {
	background: #fff !important;
	border: 1px solid var(--global-palette3) !important;
	padding: 8px 30px !important;
    color: var(--global-palette3) !important;
	letter-spacing: 0;
	text-transform: none;
	width: 100%;
	font-weight: 700;
	font-size: 18px;
}

.wp-block-navigation-item .wp-block-navigation-submenu__toggle {
	transform: scale(1);	
}

.wp-block-navigation__submenu-icon {
	background: var(--global-palette5) !important;
	border-radius: 50%;
	width: 24px !important;
	height: 24px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	margin-left: -32px !important;
	z-index: 99;
}

.wp-block-navigation__submenu-icon svg {
	width: 12px !important;
	height: 12px !important;
	color: #fff;
}

.wp-block-navigation__submenu-container {
	background-color: var(--global-palette5) !important;
	border: none !important;
	left: 0 !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
	width: 100% !important;
    box-shadow: 0px 0px 6px 0px rgb(0 0 0 / 5%);
}

.wp-block-navigation-item.open-on-hover-click .wp-block-navigation__submenu-container a {
	background-color: var(--global-palette5) !important;
	border: 0 !important;
	border-radius: 0;
	color: var(--global-palette9) !important;
	font-size: 14px;
	padding: 10px 15px;
	z-index: 99;
}

.wp-block-navigation-item.open-on-hover-click .wp-block-navigation__submenu-container a:hover {
	background-color: var(--global-palette4) !important;
}

.wp-block-navigation__submenu-container li {
	font-weight: 700;
	font-size: 16px;
    color: var(--global-palette9) !important;
	letter-spacing: 0;
	text-transform: none;
	font-size: 14px;
}

.wp-block-navigation__submenu-container li:hover {
	background: var(--global-palette8);
	color: var(--global-palette3) !important;
}

.wp-block-navigation__submenu-container li:last-of-type {
	border: none;
}

.wp-block-navigation__submenu-container li a {
	padding: 10px 15px;
}

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

	.wp-block-navigation .wp-block-navigation-item,
	.wp-block-navigation__container{
		position: relative;
		flex-wrap: wrap !important;
	}
	
	.wp-block-navigation .has-child .wp-block-navigation__submenu-container{
		display: Block !important;
		position: relative !important;
		left: auto !important;
		top: auto !important;
		width: 100% !important;
	}
	
	
	.wp-block-navigation-item .wp-block-navigation-submenu__toggle,
	.wp-block-navigation__submenu-container li a{
		padding-top: 14px;
		padding-bottom: 14px;
	}

}

@media (max-width: 440px) {
	
	.wp-block-navigation.no-wrap {
		--navigation-layout-wrap: wrap;
	}
	
}

/* Gallery Slider
------------------------------------------------------------ */

.kt-blocks-carousel ,
.kt-post-grid-layout-carousel{
    padding-left: 0px;
    padding-right: 0px;
}

.kt-blocks-carousel .splide__track{
	padding-left: 0px !important;
	padding-right: 0px !important;
}

/* Add .kb-gallery-ul to all the existing selector groups */

.kt-blocks-carousel .kb-splide .splide__arrow,
.kt-post-grid-layout-carousel .kb-splide .splide__arrow,
.entry-related-carousel .splide__arrow,
.kb-gallery-ul .splide__arrow {
    width: 40px;
    height: 40px;
    background: var(--global-palette6) url(images/next-white.svg) center no-repeat;
    background-size: 18px 18px;
    opacity: 100 !important;
    border-radius: 50% !important;
    transition: transform 0.3s ease;
    will-change: transform;
    vertical-align: middle;
    line-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
}

.entry-related-carousel .splide__arrow--next:hover,
.kb-splide .splide__arrow:hover,
.kb-gallery-ul .splide__arrow--next:hover {
    background: var(--global-palette6) url(images/next-white.svg) center no-repeat !important;
    background-size: 18px 18px !important;
}

.kt-blocks-carousel .kb-splide .splide__arrow.splide__arrow--prev,
.kt-post-grid-layout-carousel .kb-splide .splide__arrow.splide__arrow--prev,
.entry-related-carousel .splide__arrow--prev,
.kb-gallery-ul .splide__arrow--prev {
    background: var(--global-palette6) url(images/back-white.svg) center no-repeat !important;
    background-size: 18px 18px !important;
}

.kt-blocks-carousel .kb-splide .splide__arrow svg,
.kt-post-grid-layout-carousel .kb-splide .splide__arrow svg,
.entry-related-carousel .splide__arrow svg,
.kb-gallery-ul .splide__arrow svg {
    display: none;
}

.kt-blocks-carousel .splide__arrow--prev,
.kt-post-grid-layout-carousel .splide__arrow--prev,
.entry-related-carousel .splide__arrow--prev,
.kb-gallery-ul .splide__arrow--prev {
    left: -15px !important;
}

.kt-blocks-carousel .splide__arrow--next,
.kt-post-grid-layout-carousel .splide__arrow--next,
.entry-related-carousel .splide__arrow--next,
.kb-gallery-ul .splide__arrow--next {
    right: -15px !important;
}

.kt-blocks-carousel .splide__arrow--next:hover,
.kt-post-grid-layout-carousel .splide__arrow--next:hover,
.entry-related-carousel .splide__arrow--next:hover,
.kb-gallery-ul .splide__arrow--next:hover {
    transform: translateX(5px);
}

.kt-blocks-carousel .splide__arrow--prev:hover,
.kt-post-grid-layout-carousel .splide__arrow--prev:hover,
.entry-related-carousel .splide__arrow--prev:hover,
.kb-gallery-ul .splide__arrow--prev:hover {
    transform: translateX(-5px);
}

.kt-blocks-carousel .splide__arrow--next:hover,
.kt-post-grid-layout-carousel .splide__arrow--next:hover,
.entry-related-carousel .splide__arrow--next:hover,
.kb-gallery-ul .splide__arrow--next:hover,
.kb-splide .splide__arrow--next:hover {
    background: var(--global-palette6) url(images/next-white.svg) center no-repeat !important;
    background-size: 18px 18px !important;
}

.kt-blocks-carousel .splide__arrow--prev:hover,
.kt-post-grid-layout-carousel .splide__arrow--prev:hover,
.entry-related-carousel .splide__arrow--prev:hover,
.kb-gallery-ul .splide__arrow--prev:hover,
.kb-splide .splide__arrow--prev:hover {
    background: var(--global-palette6) url(images/back-white.svg) center no-repeat !important;
    background-size: 18px 18px !important;
}

.entry-related-carousel .carousel-item {
	padding: 5px;
}

/* Read More Link
------------------------------------------------------------ */

.more-link-wrap .kadence-svg-iconset {
	display: none !important;
}

.post-more-link {
	color: var(--global-palette1);
}

.post-more-link::before {
	content: '';
	display: inline-block;
	width: 25px;
	height: 25px;
	background-image: url(images/star.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin-left: 8px;
	vertical-align: middle;
}

a.post-more-link {
	text-decoration: none !important;
}

/* Post Layout Customizations for mobile
--------------------------------------------- */

/* This code makes all the posts appear in 2 columns on mobile.  If you want single columns, you can remove the section below */
@media (max-width: 992px) {
	
	/* This code makes all the posts appear in 2 columns on mobile.  If you want single columns, you can remove the section below */
	.archive .grid-cols,
	.grid-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		column-gap: 1rem !important;
		row-gap: 1rem !important;
	}
	
	.wp-block-post-template.is-flex-container li {
		width: 46%;
	}
	
	 /* If you add a class of full-post to any query loop or posts block, it will appear full width on mobile instead of in 2 columns */
	.grid-cols.full-post {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	
	.full-post .wp-block-post-template.is-flex-container li {
		width: 100%;
	}
	
}

@media (max-width: 767px) {
	/* Reduces the space around boxed in content on mobile so more texts shows without scrolling so much */
	.loop-entry .entry-content-wrap {
	    padding: 0.5rem !important;
	}
}

/* Icon/Image Hover Effect on Round Gallery
------------------------------------------------------------ */

.hover-effect .kb-gallery-image-contain {
  overflow: hidden;
  position: relative;
}

.hover-effect .kb-gallery-image-contain img {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.hover-effect .kadence-blocks-gallery-item:hover .kb-gallery-image-contain img {
  transform: scale(1.05) rotate(1deg);
  filter: brightness(1.1);
}

.hover-effect .kadence-blocks-gallery-item__caption {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hover-effect .kadence-blocks-gallery-item:hover .kadence-blocks-gallery-item__caption {
  transform: translateY(-5px);
  opacity: 1;
}

/* Rotate Colors for Header Social Media Icons
------------------------------------------------------------ */

body.has-colorful-social-icons .header-social-wrap .header-social-inner-wrap .social-button:nth-child(1) {
  border-color: var(--global-palette1);
}

body.has-colorful-social-icons .header-social-wrap .header-social-inner-wrap .social-button:nth-child(2) {
  border-color: var(--global-palette13);
}

body.has-colorful-social-icons .header-social-wrap .header-social-inner-wrap .social-button:nth-child(3) {
  border-color: var(--global-palette5);
}

body.has-colorful-social-icons .header-social-wrap .header-social-inner-wrap .social-button:nth-child(4) {
  border-color: var(--global-palette1);
}

body.has-colorful-social-icons .header-social-wrap .header-social-inner-wrap .social-button:nth-child(5) {
  border-color: var(--global-palette13);
}

body.has-colorful-social-icons .header-social-wrap .header-social-inner-wrap .social-button:hover {
  border-color: var(--global-palette3);
  color: var(--global-palette3);
}


/* Customize the Search
------------------------------------------------------------ */

.site-header-bottom-section-right,
.site-header-main-section-right {
  position: relative;
}

.search-toggle-open-container .search-toggle-open {
	border-radius: 100%;
}

.custom-inline-search {
  position: absolute;
  right: 40px; /* Adjust based on spacing from icon */
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  width: 0;
  padding: 8px 0;
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: white;
  z-index: 9999;
  overflow: hidden;
}

body.search-active .custom-inline-search {
  width: 250px; 
  padding: 8px 12px;
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
	border-color: var(--global-palette3);
	border-radius: 0;
}

/* Add Star Icon to HTML Header Element
------------------------------------------------------------ */

.header-svg-icon {
  width: 25px;
  height: 25px;
  margin-right: 8px;
  vertical-align: middle;
  color: var(--global-palette9); 
}

/* Customize Password Protected Page
------------------------------------------------------------ */

.custom-password-box {
  max-width: 450px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--global-palette8);
  text-align: center;
}

.header-html-inner span,
.mobile-html-inner span {
    font-family: 'Halo', cursive;
    font-size: 1.8em;
    text-transform: lowercase;
}

@media (max-width: 767px) {
    .mobile-html {
        font-size: 16px;
        margin: 0;
    }
}

.custom-password-intro {
  font-size: 1.1rem;
  color: #5a4a42;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.custom-password-box input[type="password"],
.custom-password-box input[type="submit"] {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  margin-bottom: .5rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.custom-password-box input[type="submit"] {
  background-color: var(--global-palette1);
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.custom-password-box input[type="submit"]:hover {
  background-color: #c8a193;
}

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
	border: none;
	margin: 1rem auto;
	padding: 2rem;
	background: var(--global-palette8);
}

.woocommerce h2 {
	margin: 0;
}

.woocommerce.tax-product_cat .content-area,
.woocommerce-shop .content-area {
  margin-top: 0;
}

.woocommerce .woocommerce-message, .woocommerce .woocommerce-error, .woocommerce .woocommerce-info {
  background: var(--global-palette9);
  border-radius: 5px;
}

@media screen and (max-width: 719px) {
    .woocommerce div.product .woocommerce-tabs {
        border: none;
        margin-bottom: 2em;
    }
}

:root {
--wp--preset--font-size--small: 20px;
}

/* Subcategory Menu (Archives)
------------------------------------------------------------ */

.entry-hero-container-inner {
  padding: 20px 0;
}

.cat-submenu {
  flex: 1 1 auto;
}

.cat-submenu ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat-submenu li {
  margin: 0;
}

.cat-submenu-wrapper {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  margin-top: 30px;
}

.cat-submenu-wrapper .filter {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--global-palette3);
  display: inline-block;
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1.6;
  padding: 0;
  text-decoration: none;
  white-space: nowrap;
}

.cat-submenu-wrapper .filter.is-current {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.cat-submenu-wrapper .filter.is-parent {
  font-family: var(--global-body-font-family);
  font-weight: 600;
}

.cat-submenu-wrapper .filter:focus,
.cat-submenu-wrapper .filter:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cat-submenu-text {
  background: var(--global-palette3);
  color: var(--global-palette9);
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: bold;
  margin-right: 35px;
  padding: 9px 10px 9px 15px;
  position: relative;
  text-align: center;
}

.cat-submenu-text::after {
  border-bottom: 25px solid transparent;
  border-left: 12px solid var(--global-palette3);
  border-top: 25px solid transparent;
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
}

.kt-blocks-post-grid-item .entry-title a,
.entry.loop-entry .entry-title a {
	transition: .5s;
	background-image: linear-gradient(180deg, transparent 94%, var(--global-palette3) 0);
	background-size: 0 100%;
	background-repeat: no-repeat;
	text-decoration: none;
	-webkit-transition: background-size .6s ease;
	-moz-transition: background-size .6s ease;
	-ms-transition: background-size .6s ease;
	-o-transition: background-size .6s ease;
	display: inline !important;
}

.archive .entry.loop-entry:hover .entry-title a,
.blog .entry.loop-entry:hover .entry-title a {
    background-size: 100% 100%;
}

/* Arrow Icon Movement
--------------------------------------------- */

.arrow-icon svg {
  transition: transform 0.4s ease;
}

.arrow-icon:hover svg {
  transform: translateX(5px);
}

/* Solo Pine Recipe format
--------------------------------------------- */

/* ── Reset list defaults ── */
ul.sp-grid {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ── 3-column grid ── */
ul.sp-grid.col3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ── Each card ── */
ul.sp-grid.col3 li {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.sp-grid.col3 article.grid-item {
    background: #ffffff;
    border: 2px solid #fbedea;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ── Post image ── */
ul.sp-grid.col3 .post-img {
    overflow: hidden;
    line-height: 0;
}

ul.sp-grid.col3 .post-img a {
    display: block;
}

ul.sp-grid.col3 .post-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

ul.sp-grid.col3 article.grid-item:hover .post-img img {
    transform: scale(1.03);
}

/* ── Post header / title area ── */
ul.sp-grid.col3 .post-header {
    padding: 16px 18px 20px;
    flex: 1;
}

ul.sp-grid.col3 .post-header h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Remove any bullet that might come from h2 or li context */
ul.sp-grid.col3 .post-header h2::before,
ul.sp-grid.col3 .post-header h2::marker {
    content: none;
    display: none;
}

/* ── Title links — underline sweep effect ── */
ul.sp-grid.col3 .post-header h2 a {
    color: #0f3147;
    text-decoration: none;
    transition: color 0.5s;
    background-image: linear-gradient(180deg, transparent 94%, #0f3147 0);
    background-size: 0 100%;
    background-repeat: no-repeat;
    -webkit-transition: background-size 0.6s ease, color 0.3s ease;
    -moz-transition: background-size 0.6s ease, color 0.3s ease;
    -ms-transition: background-size 0.6s ease, color 0.3s ease;
    -o-transition: background-size 0.6s ease, color 0.3s ease;
    transition: background-size 0.6s ease, color 0.3s ease;
    display: inline !important;
}

ul.sp-grid.col3 article.grid-item:hover .post-header h2 a {
    background-size: 100% 100%;
}

/* ── Responsive: 2 columns on tablet ── */
@media (max-width: 900px) {
    ul.sp-grid.col3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Responsive: 1 column on mobile ── */
@media (max-width: 560px) {
    ul.sp-grid.col3 {
        grid-template-columns: 1fr;
    }
}

/* Kartra Form
--------------------------------------------- */

.form_class_7fe1f8abaad094e0b5cb1b01d712f708 form {
  margin-bottom: 0;
}

.form_class_k1SKQjMu4Ua4 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.form_class_k1SKQjMu4Ua4 input[type="text"],
.form_class_k1SKQjMu4Ua4 select {
    flex: 1;
    min-width: 140px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.form_class_k1SKQjMu4Ua4 button.submit_button_7fe1f8abaad094e0b5cb1b01d712f708 {
    height: 46px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Default Wordpress buttons
--------------------------------------------- */

.wp-block-button__link {
    position: relative;
    transition: transform 0.15s ease;
    overflow: hidden;
    isolation: isolate;
}

.wp-block-button__link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.2s ease;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
}

.wp-block-button__link:hover::after {
    background: rgba(255,255,255, 0.15);
}

.wp-block-button__link:active::after {
    background: rgba(255,255,255, 0.25);
}

.wp-block-button__link:hover {
    transform: translateY(-1px);
}