/*
Theme Name: Sirah Badiola
Theme URI: https://sirahbadiola.com
Author: OsomPress
Author URI: https://osompress.com/
Description: A modern block theme for Sirah Badiola - Feldenkrais method courses and wellness
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.5.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sirah-badiola
Tags: full-site-editing, editor-style, block-styles, block-patterns, style-variations
*/

/* Forms
--------------------------------------------- */

label {
	font-size: var(--wp--preset--font-size--normal);
}

input, select, textarea {
	background-color: var(--wp--preset--color--background);
	border: solid 1px var(--wp--preset--color--base);
	border-radius: 6px;
	color: var(--wp--preset--color--foreground);
	font-family: var(--wp--preset--font-family--open-sans);
}

input:focus, textarea:focus {
	border: 1px solid var(--wp--preset--color--base);
	outline: none;
}

input {
	color-scheme: light;
}

/* Comments */

header .wp-block-navigation__submenu-container .wp-block-navigation-item span {
	color: var(--wp--preset--color--foreground);
}

.comment-form .logged-in-as,
.comment-form .logged-in-as a,
.comment-form-comment label {
	color: var(--wp--preset--color--foreground);
}

.comment-form label {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	text-transform: uppercase;
}

#wp-comment-cookies-consent {
	color-scheme: light;
}

.wp-block-post-comments-form .comment-form input:not([type="submit"]):not([type="checkbox"]):not([type="hidden"]),
.wp-block-post-comments-form .comment-form textarea {
	padding: 8px 16px;
	border-radius: 6px;
	border: 1px solid var(--wp--preset--color--base);
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
	font-family: var(--wp--preset--font-family--open-sans);
}

.comment-form-cookies-consent label {
	text-transform: none;
	font-weight: 400;
}

/* Pagination */

.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-previous:hover {
	text-decoration: none;
}

:root :where(.wp-block-query-pagination-numbers a, .wp-block-query-pagination-numbers span) {
	border: solid 1px var(--wp--preset--color--foreground);
	border-radius: 6px;
	padding: 12px 20px;
	margin: 2px;
}

.wp-block-query-pagination a {
	color: var(--wp--preset--color--foreground);
}

/* EDD Styles
--------------------------------------------- */

.edd_downloads_list,
.post-type-archive-download .osom-archives {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-gap: 1.4rem;
}

h3.edd_download_title a {
	font-size: 1.5rem;
	color: var(--wp--preset--color--foreground);
	text-decoration: none;
}

.edd_downloads_list .edd_download {
	box-shadow: 1px 0px 10px rgb(0 0 0 / 10%);
	padding: 20px;
	text-align: center;
}

.edd_download_image {
	margin-bottom: 20px;
}

.edd_download_excerpt p {
	font-size: 0.9375rem;
}

.entry-content .edd_download_buy_button a.button {
	padding: 5px 20px;
	font-weight: 500;
}

.edd_download_buy_button a.button:hover {
	text-decoration: none;
}

.edd_download_purchase_form {
	text-align: center;
	margin: 40px 0;
}

.edd_download_quantity_wrapper,
.edd_purchase_submit_wrapper {
	display: inline-block;
}

input.edd-input.edd-item-quantity {
	max-width: 60px;
	margin-right: 10px;
	height: 35px;
}

.edd_price_options.edd_single_mode {
	margin-left: 0;
	margin-bottom: 20px;
}

.edd_price_options.edd_single_mode ul {
	margin: 0;
}

span.edd-cart-added-alert {
	background: var(--wp--preset--color--tertiary);
	padding: 5px 20px;
	font-weight: 500;
}

svg.edd-icon.edd-icon-check {
	vertical-align: text-bottom;
	width: 20px;
}

.edd_pagination {
	clear: both;
	margin: 40px 0;
	text-align: center;
}

.edd_pagination span,
.edd_pagination a {
	color: var(--wp--preset--color--foreground);
	cursor: pointer;
	display: inline-block;
	padding: 5px 10px;
}

.edd_pagination a:focus,
.edd_pagination a:hover,
.edd_pagination span {
	border-bottom: solid 4px var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
	font-weight: 400;
}

ul.edd-cart {
	margin-left: 10px;
}

.entry-content li.edd-cart-item {
	list-style-type: none;
	padding: 5px;
	border-bottom: solid 1px var(--wp--preset--color--tertiary);
}

li.cart_item.edd_checkout {
	background: var(--wp--preset--color--primary);
	color: #fff;
	margin-top: 30px;
}

li.cart_item.edd_checkout a {
	color: #fff;
	text-decoration: none;
}

.edd_cart_header_row th {
	padding: 5px 10px;
	text-align: center;
}

tr.edd_cart_header_row {
	background: var(--wp--preset--color--primary);
	color: #fff;
}

td.edd_cart_item_price {
	text-align: center;
}

td.edd_cart_actions {
	text-align: center;
}

.edd_cart_item_image img {
	width: 100px;
	float: left;
	vertical-align: middle;
}

span.edd_checkout_cart_item_title {
	display: inline-block;
	margin-top: 40px;
}

th.edd_cart_tax,
th.edd_cart_subtotal {
	background: var(--wp--preset--color--secondary-background);
	padding: 5px 15px;
	text-align: center;
}

th.edd_cart_subtotal {
	border-top: solid 10px #fff;
}

th.edd_cart_total {
	background: var(--wp--preset--color--tertiary);
	padding: 5px 15px;
	text-align: center;
}

.edd_download_purchase_form .edd_price_options.edd_single_mode li {
	display: inline-block;
	margin: 0 10px;
}

.edd-payment-icons {
	text-align: center;
}

img.payment-icon {
	width: 40px;
}

.edd-gateway-option {
	margin: 10px;
}

.edd-page fieldset {
	margin: 20px;
	display: block;
	border: solid 1px var(--wp--preset--color--tertiary);
}

.edd-page fieldset p,
.edd-page #edd-card-wrap {
	margin: 20px;
}

.edd-page fieldset input,
.edd-page fieldset select,
.edd-page fieldset textarea {
	background: color-mix(in srgb, var(--wp--preset--color--tertiary) 30%, transparent);
	border: none;
}

.edd-page fieldset input[type="submit"] {
	background-color: var(--wp--preset--color--primary);
	margin: 20px auto;
	display: block;
}

.edd-page fieldset input[type="checkbox"] {
	border: none;
}

.edd_price_options input[type=radio] {
	display: inline-block;
	vertical-align: middle;
}

.edd_download_purchase_form .edd_price_options span {
	display: inline-block;
	height: 30px;
	padding: 5px;
}

#edd_checkout_wrap .edd-submit.button.blue {
	color: #fff;
	background: var(--wp--preset--color--primary);
}

.edd_cr_message {
	font-size: 1.5rem;
	font-style: italic;
	text-align: center;
}

.single-course .edd_cr_message {
	padding-bottom: 25px;
}

/* Responsive
--------------------------------------------- */

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

	footer .wp-block-columns .wp-block-column {
		padding: var(--wp--preset--spacing--medium);
	}

	footer .wp-block-social-links {
		margin: var(--wp--preset--spacing--medium) 0 !important;
	}

	a.edd_cart_remove_item_btn {
		display: block;
	}

	span.edd_checkout_cart_item_title {
		margin-top: 10px;
	}
}


/* EDD CUSTOM STYLES */

.single-download p.entry-meta {
	display: none;
}

.edd_downloads_list, .post-type-archive-download .osom-archives {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-gap: 1.4rem;
	row-gap: 1.4rem;
	margin-top: 4rem;
}

h3.edd_download_title a {
	font-size: 2.4rem;
	font-size: 24px; 
    color: var(--text-color);
	text-decoration: none;
}

.edd_downloads_list .edd_download { 
    box-shadow: 1px 0px 10px rgb(0 0 0 / 10%);
	padding: 20px;
	text-align: center;
}
.edd_download_image {
	margin-bottom: 20px;
}

.edd_download_excerpt p {
	font-size: 1.5rem;
    font-size: 15px;
}

.entry-content .edd_download_buy_button a.button {
    padding: 5px 20px;
    font-weight: 500;
}

.edd_download_buy_button a.button:hover {
	text-decoration: none;
}

.edd_download_purchase_form {
	text-align: center;
	margin: 40px 0;
}

.edd_download_quantity_wrapper, .edd_purchase_submit_wrapper {
    display: inline-block;
}

input.edd-input.edd-item-quantity {
    max-width: 60px;  
    margin-right: 10px; 
    height: 35px;
    text-align: center;
}

.edd_price_options.edd_single_mode {
 
	margin-left: 0px;
	margin-bottom: 20px;
	padding: 10px;
	box-shadow: 1px 0px 10px rgb(0 0 0 / 10%);
}

.edd_price_options.edd_single_mode ul {
	margin: 0;
	
}	

span.edd-cart-added-alert {
    background: var(--footer-color);
    padding: 5px 20px;
    font-weight: 500;
    font-family: var(--heading-font);
    display: block;
    margin-top: 10px;
}

svg.edd-icon.edd-icon-check {
 
    vertical-align: text-bottom; 
    width: 20px;
}

.edd_pagination {
	clear: both;
	margin: 40px 0;
	text-align: center; 
}

.edd_pagination span, .edd_pagination a{
	color: var(--text-color);
	cursor: pointer;
	display: inline-block;
	margin-bottom: 4px;
	padding: 8px 12px;
	text-decoration: none;
}

.edd_pagination a:focus, .edd_pagination a:hover, .edd_pagination span {
	border-bottom: solid 4px var(--accent-color);
    color: var(--accent-color);
    font-weight: 400;
	text-decoration: none;
}

p.eddr-notice.eddr-terms-notice {
	text-align: left;
	font-size: 14px;
	margin-top: 20px;
	margin-bottom: 40px;
  }
  

/* EDD CART - CHECKOUT PAGE */
li#cart-menu-item {
    display: inline-block;
}
span#header-cart {
    color: #fff; 
    vertical-align: super;
    margin-left: -10px;
    font-size: 14px;
}


ul.edd-cart {
	margin-left: 10px;
}

.entry-content li.edd-cart-item {
    list-style-type: none;
	padding: 5px;
	border-bottom: solid 1px var(--footer-color);
}

.entry-content li.cart_item {
    list-style-type: none;
    padding: 5px 10px;
    font-weight: 500;
    margin: 10px;
    text-align: center;
    display: inline-block;
    border: solid 1px var(--accent-color);
    color: var(--accent-color);
}

li.cart_item.edd_checkout {
    background: var(--accent-color);
	color: #fff;
	margin-top: 30px;
}

li.cart_item.edd_checkout a{ 
	color: #fff;
	text-decoration: none;
}

div#edd_checkout_cart_wrap {
    border: solid 1px var(--footer-color);
	padding: 10px;
	margin-bottom: 40px;
}
table#edd_checkout_cart {
    margin-bottom: 0;
}

.edd_cart_header_row th {
	padding: 5px 10px;
	text-align: center;
}

tr.edd_cart_header_row {
    background: var(--accent-color); 
    color: #fff;
}

td.edd_cart_item_price {
    text-align: center;
}

td.edd_cart_actions {
    text-align: center;
}

.edd_cart_item_image img {
    width: 100px; 
    float: left;
	vertical-align: middle;
	margin: 10px;
}

span.edd_checkout_cart_item_title { 
    display: inline-block;
    margin-top: 40px;
}

th.edd_cart_tax, th.edd_cart_subtotal {
	background: var(--light-color); 
	padding: 5px 15px;
	text-align: center; 
}

th.edd_cart_subtotal {
	border-top: solid 10px #fff;
}

th.edd_cart_total {
    background: var(--footer-color); 
    padding: 5px 15px;
    text-align: center;
}

.edd_download_purchase_form .edd_price_options.edd_single_mode li {
    display: inline-block;
    margin: 0px 10px;
}

.edd-payment-icons {
    text-align: center;
}
img.payment-icon {
	padding: 5px;
}

.edd-gateway-option {
    margin: 10px;
}

.edd-page fieldset {
    margin: 20px;
    display: block;
    border: solid 1px var(--footer-color);
    font-size: 16px;
}

#edd_last_name {
    font-size: 18px;
}

.edd-page fieldset p,
.edd-page #edd-card-wrap{
    margin: 20px;
}

.edd-page fieldset input, .edd-page fieldset select, .edd-page fieldset textarea {
    background: #CDE4A850;
    border: none;
}

.edd-page fieldset input[type="submit"] {
	background-color: var(--accent-color);
	margin: 20px auto; 
    display: block;
}

.edd-page fieldset input[type="checkbox"] {
	border:none;
}

p#edd_final_total_wrap {
    text-align: center;
}

.edd_price_options input[type=radio] {
    display: inline-block; 
    vertical-align: middle;
}

.edd_download_purchase_form .edd_price_options span {
    display: inline-block; 
    height: 30px;
    padding: 5px;
    vertical-align: middle;
    font-size: 14px;
}

p.eddr-notice.eddr-terms-notice {
	display: none;
}

input[type="checkbox"], input[type="image"], input[type="radio"] {
	vertical-align: middle;
	margin-right: 5px;
}
#edd_checkout_form_wrap input[type=checkbox] {
	vertical-align: middle;
}
 

#edd_profile_editor_form fieldset {
    border: none;
    background: #f7f7f7;
    margin: 40px 0;
    padding: 20px;
}

#edd_profile_editor_form input, #edd_profile_editor_form select, #edd_profile_editor_form textarea {
    border: none !important;
}

#edd_profile_editor_form label {
    display: inline-block;
    margin: 10px;
    font-size: 15px;
    font-weight: 500;
}

#edd_profile_editor_form legend { 
    font-family: var(--header-font); 
    background: var(--footer-color);
    padding: 5px 10px;
}

@media only screen and (max-width: 960px) {
	a.edd_cart_remove_item_btn {
		display: block;
	}

	span.edd_checkout_cart_item_title {
		margin-top: 10px;
	}
}

/* Rejilla de posts con overlay */
.grid-posts {
	display: grid;
	grid-gap: 10px;
	grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
	margin-bottom: 20px;
}

.grid-element > a {
	display: grid;
	grid-template: "container";
	overflow: hidden;
	place-items: center;
	place-content: center;
	text-decoration: none;
}

.grid-element a:hover {
	text-decoration: none;
}

.grid-element a::before {
	background-color: #000;
	content: "";
	grid-area: container;
	height: 100%;
	opacity: .45;
	width: 100%;
	z-index: 2;    
}

.grid-element a > * {
	grid-area: container;
}

.grid-element .grid-text p {
	color: #fff;
	text-align: center;
    position: relative;
	z-index: 3;
}

.grid-element p.grid-date {
	margin-bottom: 0;
}

p.grid-date:first-letter {
    text-transform:uppercase;
}

.grid-image {
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.grid-title {
	font-size: 28px;
	color: #fff;
	margin: 0;
	padding: 1rem;
	position: relative;
	text-align: center;
	z-index: 3;
}

.grid-posts.child {
	grid-template-columns: repeat(auto-fill, minmax(350px,1fr));
}

.grid-posts.future .grid-title,
.grid-posts.future p.grid-date,
.grid-posts.future p.grid-hour {
	color: #dfff;
	z-index: 3;
}

.grid-element .grid-overlay {
	display: grid;
	grid-template: "container";
	overflow: hidden;
	place-items: center;
	place-content: center;
	text-decoration: none;
}

.grid-posts.future .grid-element div > * {
    grid-area: container;
}

.grid-posts.direct {
	display: block;
}

/* Force consistent card size based on image */
.grid-posts.child .grid-element > a {
    position: relative;
    display: block;           /* back to block so image dictates height */
    overflow: hidden;
}

/* Dark overlay via pseudo-element */
.grid-posts.child .grid-element a::before {
    background-color: #000;
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.45;
    z-index: 2;
}

/* Image fills the card fully */
.grid-posts.child .grid-element a img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    height: auto;
}

/* Title overlays centered on the image */
.grid-posts.child .grid-element .grid-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 1rem;
    font-size: clamp(18px, 2vw, 26px); /* scales with card width */
    text-align: center;
    z-index: 3;
}

.grid-posts.future .grid-element .grid-overlay:hover {
	text-decoration: none;
}

.future-video-class .grid-posts .grid-element a::before,
.grid-posts.future .grid-element .grid-overlay::before {
	background-color: #fff;
	content: "";
	grid-area: container;
	height: 100%;
	opacity: .50;
	width: 100%;
	z-index: 3;    
}

.future-video-class .grid-posts .grid-element {
    pointer-events: none;
}


.edd_cr_message  {
	font-size: 24px;
	font-style: italic;
	text-align: center;
	border: 2px solid #3e3e3e;
	color: #3e3e3e;
	background-position: center 40px;
	background-repeat: no-repeat;
	padding: 50px;
	margin-bottom: 20px;
}

.single-course .edd_cr_message  {
	padding-bottom: 25px;
}

/* Mostrar texto RGPD en acordeón */
.gdpr-accordion input {
    display: none;
}

.gdpr-accordion span  {
    text-decoration: underline;
}

.gfield_consent_description {
    display: none;
}

input:checked + label + .gfield_consent_description  {
    display: block;
}


.nav-primary .genesis-nav-menu a, 
.header-widget-area .nav-primary .genesis-nav-menu a,
span#header-cart {
     background-color: transparent !important;
}

#edd_checkout_wrap #edd-purchase-button {
	display: block;
    text-align: center;
	padding: 2rem;
	margin: 0 auto;
	font-size: 18px;
	border: none;
	border-radius: 2px;
	width: 96%;
}

#edd_checkout_wrap .edd-submit.button.blue {
    color: #fff;
    background: #3FACBB;
    border-color: none;
}

#edd-email-wrap #edd-email-description,
#edd-first-name-wrap #edd-first-description,
#edd-last-name-wrap #edd-last-description{
    display: none;
}

#edd_checkout_user_info {
    margin-bottom:20px
}

#edd_checkout_form_wrap legend {
    margin: 20px auto;
    font-size:14px
}

#edd_checkout_form_wrap label {
    font-size:16px
}

#edd_checkout_form_wrap span.edd-description {
    font-size:12px
}

#edd_show_terms, #edd-show-privacy-policy {
    font-size:12px
}

.edd-terms-agreement, .edd-privacy-policy-agreement {
    margin: 5px auto 25px;
    font-size:14px
}

fieldset#edd_terms_agreement, fieldset#edd-privacy-policy-agreement {
    font-size: 16px;
    color:#202020
}

#edd_terms, .edd-terms {
    border: 1px dotted var(--text-color);
    padding:20px
}

#edd_terms_agreement p, 
#edd-privacy-policy-agreement p {
    margin:0 0 5px
}

#edd_terms_agreement h2, 
#edd-privacy-policy-agreement h2 {
    font-size:18px
}

#edd_terms_agreement h3, 
#edd-privacy-policy-agreement h3 {
    font-size:16px
}

#edd_terms_agreement .entry-content ul>li {
	list-style-type: none;
}

@media only screen and (max-width: 600px) {
	tr.edd_cart_header_row {
    	font-size: 12px;
    	word-break: break-word;
	}
    
    tr.edd_cart_item {
    	word-break: break-word;
	}
	
	#edd_checkout_wrap #edd_checkout_cart .edd_cart_header_row th {
		padding: 5px;
	}
	
	#edd_checkout_wrap #edd_checkout_cart td {
		padding: 10px;
	}
	
	#edd_checkout_wrap #edd_checkout_form_wrap input.edd-input {
		width: 100%;
	}
}

/* Mostrar los datos de facturación en acordeón */
.billing_data_yes input {
    display: none;
}

.billing_data_yes span  {
    text-decoration: underline;
}

.edd-billing-data-wrap {
    display: none;
}

input:checked + label + .edd-billing-data-wrap  {
    display: block;
}

#edd_checkout_form_wrap label[for="billing_data_no"], 
#edd_checkout_form_wrap label[for="billing_data_yes"] {
    display: inline-block;
}

#edd_checkout_form_wrap label[for="billing_data_yes"] {
    margin-bottom: 24px;
}

table#edd_user_history {
    word-break: unset;
}

table#edd_user_history th,
table#edd_user_history td {
   padding: 10px 20px;   
}

#edd-stripe-card-element {
    padding: 10px 6px;
}

@media only screen and (min-width: 960px) {
    .post-type-archive .entry {
        margin-bottom: 10px;
    }
}

/* Estilos ocultar bloques EditorsKit */
@media screen and (min-width: 769px) {
	.editorskit-no-desktop {
		display: none;
	}
}

@media screen and (max-width: 768px) and(min-width: 737px) {
	.editorskit-no-tablet {
		display:none
	}
}

@media screen and (max-width: 736px) {
	.editorskit-no-mobile {
		display:none
	}
}

/* Estilos listas EditorsKit */
ol.has-list-bullet-color li, ol.is-style-arrow li, ol.is-style-checked li, ol.is-style-connected li, ol.is-style-crossed li, ol.is-style-dashed li, ol.is-style-starred li, ul.has-list-bullet-color li, ul.is-style-arrow li, ul.is-style-checked li, ul.is-style-connected li, ul.is-style-crossed li, ul.is-style-dashed li, ul.is-style-starred li {
	list-style-type: none !important;
	padding-left: 8px;
	position:relative
}

ol.has-list-bullet-color li:before, ol.is-style-arrow li:before, ol.is-style-checked li:before, ol.is-style-connected li:before, ol.is-style-crossed li:before, ol.is-style-dashed li:before, ol.is-style-starred li:before, ul.has-list-bullet-color li:before, ul.is-style-arrow li:before, ul.is-style-checked li:before, ul.is-style-connected li:before, ul.is-style-crossed li:before, ul.is-style-dashed li:before, ul.is-style-starred li:before {
	background-size: cover;
	display: inline-block;
	height: 25px;
	left: -25px;
	position: absolute;
	top: 1em;
	margin-top: -18px;
	transform: scale(.9);
	width: 25px;
	mask-repeat: no-repeat;
	-webkit-mask-repeat:no-repeat
}

ol.is-style-arrow li:before, ol.is-style-checked li:before, ol.is-style-connected li:before, ol.is-style-crossed li:before, ol.is-style-starred li:before, ul.is-style-arrow li:before, ul.is-style-checked li:before, ul.is-style-connected li:before, ul.is-style-crossed li:before, ul.is-style-starred li:before {
	content: "";
	background-color:currentColor
}

ol.is-style-arrow li:before, ul.is-style-arrow li:before {
	transform: scale(.65);
	margin-top: -16px;
	mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" > <path d="M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z"></path><path fill="none" d="M0 0h24v24H0z"></path></svg>');
	-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" > <path d="M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z"></path><path fill="none" d="M0 0h24v24H0z"></path></svg>')
}

ol.is-style-checked li:before, ul.is-style-checked li:before {
	mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" ><path fill="none" d="M0 0h24v24H0z"></path><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"></path></svg>');
	-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" ><path fill="none" d="M0 0h24v24H0z"></path><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"></path></svg>')
}

ol.is-style-crossed li:before, ul.is-style-crossed li:before {
	mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" ><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path><path fill="none" d="M0 0h24v24H0z"></path></svg>');
	-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" ><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path><path fill="none" d="M0 0h24v24H0z"></path></svg>')
}

ol.is-style-starred li:before, ul.is-style-starred li:before {
	mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" > <path fill="none" d="M0 0h24v24H0z"></path><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"></path><path fill="none" d="M0 0h24v24H0z"></path></svg>');
	-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" > <path fill="none" d="M0 0h24v24H0z"></path><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"></path><path fill="none" d="M0 0h24v24H0z"></path></svg>')
}

/* Inputs checkout EDD */
input#billing_data_no,
input#billing_data_yes,
.edd-terms-agreement input,
.edd-privacy-policy-agreement input {
    height: auto;
}

/* Estilos botón para reactivar suscripción EDD */
button.reactivate-subscription a,
button.reactivate-subscription a:hover {
    color: #fff;
    text-decoration: none;
}

.reactivate-subscription {
    margin: 20px 0;
}

.edd-submit.button, .edd-submit.button.gray, .edd-submit.button:visited {
    color: #fff !important;
    background: #3FACBB !important;
    border-color: transparent !important;
    padding: 20px;
}

.edd-submit.button:hover {
    box-shadow: inset 0 0 200px rgba(230, 230, 230, 0.25) !important;
}

#edd_profile_editor_form input,
#edd_profile_editor_form select {
    font-size: 16px;
}

.site-footer .edd_download_purchase_form {
    display: none;
}

/* Ocultar encabezado si no hay entradas */
.entry-loop h2 {
  display: none;
}

.entry-loop:has(.grid-posts) h2 {
  display: block;
}

.wp-block-query .wp-block-cover h2 a {
    color: #fff;
    text-decoration: none;
    font-size: 28px;
}

/* Mantener footer abajo */
.site-container {
	 display: -ms-flexbox;
	 display:-webkit-flex;
	 display:-webkit-box;
	 display:flex;
	 -ms-flex-direction:column;
	 -webkit-flex-direction:column;
	 -webkit-box-orient:vertical;
	 -webkit-box-direction:normal;
	 flex-direction:column;
	 min-height:100vh;
}

.site-inner {
	 -ms-flex:1;
	 -webkit-flex:1;
	 -webkit-box-flex:1;
	 flex:1;
	 width: 100%;
}
.wp-block-site-logo img {
    height: 50px;
}

.gform_button.button {
    background-color: var(--wp--preset--color--primary);
    border: none;
    border-radius: var(--wp--custom--border-radius--medium);
    padding: 12px 24px;
    color: #ffffff;
    font-family: var(--wp--preset--font-family--playfair-display);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-transform: uppercase;
}

.login-modal-box #wp-submit {
    background-color: var(--wp--preset--color--primary);
}