/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

html, body {
    overflow-x: hidden !important;
}

.ast-page-builder-template .entry-header{
	display:none;
}

/*------------------------------------------------------------------------------------------------------------*/

@media screen and (min-width: 1440px) and (max-width: 2920px) {
/**/
h2.woocommerce-loop-product__title {
	font-size:20px;
	font-weight:600;
}

/* FORZAR QUE LA IMAGEN DESTACADA SE MUESTRE EN LAS ENTRADAS */
.single-post .post-thumb,
.single-post .post-thumb img,
.single-post .wp-post-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 1100px;
    margin: 0 auto 40px;
}


/* El contenedor principal de los posts en columna */
.hfe-posts-grid {
    display: flex;
    flex-direction: column;
}

/* Cada post en fila: imagen + texto */
.hfe-posts-grid .hfe-post-card {
    display: flex;
    flex-direction: row;
}

/* 🔁 Alternar orden en los posts pares */
.hfe-posts-grid .hfe-post-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Mitad y mitad para imagen y contenido */
.hfe-posts-grid .hfe-post-image {
    width: 50%;
}

.hfe-posts-grid .hfe-post-content {
    width: 50%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 56px !important;
}

/* Reordenar los elementos dentro del contenido del post */
.hfe-post-content {
    display: flex;
    flex-direction: column;
}

/* Fecha primero */
.hfe-post-content .hfe-post-meta {
    order: 1;
}

/* Título después */
.hfe-post-content .hfe-post-title {
    order: 2;
}

/* Excerpt después */
.hfe-post-content .hfe-post-excerpt {
    order: 3;
}

/* Enlace "Read More" al final */
.hfe-post-content .hfe-read-more {
    order: 4;
}

.hfe-post-meta {
    padding-top: 12px;
}


/* OCULTAR TITULAR ORIGINAL DE ASTRA */
.single-post .entry-header {
    display: none !important;
}

/* HERO (fondo rosa + imagen + fecha + título) */
.pc-post-hero {
    background-image: url('https://patriciacasado.com/wp-content/uploads/2025/01/Fondo-post.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 0px 0 80px;
    text-align: center;
}

/* Imagen destacada */
.pc-post-hero-image {
    max-width: 1100px;
    width: 100%;
    height: auto;
    margin: 0 auto 30px;
    display: block;
}

/* Contenido interno */
.pc-post-hero-inner {
    max-width: 100%;
    margin: 0 auto;
}

/* Fecha */
.pc-post-hero-date {
    color: #09706E;
    margin-bottom: 10px;
}

/* Título */
.pc-post-hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin: 0;
}

/* CONTENIDO DEL ARTÍCULO CENTRADO AL 60% */
.single-post .entry-content {
    max-width: 100%;
    margin: 0px;
}

/* Ocultar la imagen destacada que pinta Astra en los posts */
.single-post .ast-single-post-featured-section,
.single-post .post-thumb {
    display: none !important;
}

img.pc-post-hero-image.wp-post-image {
    width: 65%;
}

.pc-post-body {
    width: 65%;
}
}


@media screen and (min-width: 1024px) and (max-width: 1439px) {
	
	/* El contenedor principal de los posts en columna */
.hfe-posts-grid {
    display: flex;
    flex-direction: column;
}

/* Cada post en fila: imagen + texto */
.hfe-posts-grid .hfe-post-card {
    display: flex;
    flex-direction: row;
}

/* 🔁 Alternar orden en los posts pares */
.hfe-posts-grid .hfe-post-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Mitad y mitad para imagen y contenido */
.hfe-posts-grid .hfe-post-image {
    width: 50%;
}

.hfe-posts-grid .hfe-post-content {
    width: 50%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 56px !important;
}

/* Reordenar los elementos dentro del contenido del post */
.hfe-post-content {
    display: flex;
    flex-direction: column;
}

/* Fecha primero */
.hfe-post-content .hfe-post-meta {
    order: 1;
}

/* Título después */
.hfe-post-content .hfe-post-title {
    order: 2;
}

/* Excerpt después */
.hfe-post-content .hfe-post-excerpt {
    order: 3;
}

/* Enlace "Read More" al final */
.hfe-post-content .hfe-read-more {
    order: 4;
}
	
/*Post Tablet*/
	img.pc-post-hero-image.wp-post-image {
		width:90%;

	}
	 .pc-post-body {
        max-width: 90% !important;
        margin: 0px;
	 padding: 32px 16px !important;
        font-size: 16px;
    }
		
	.pc-post-hero {
		background-image: url('https://patriciacasado.com/wp-content/uploads/2025/01/Fondo-post.jpg');
		background-size: cover;
		background-position: center top;
		background-repeat: no-repeat;
		padding: 0px 0 80px;
		text-align: center;
	}
	.pc-post-hero-inner {
		        width: 90%;
		padding: 32px;
	}
	.pc-post-hero-date {
		color: #09706E;
		padding-bottom:24px;
	}

	.pc-post-hero {
		padding: 0px 0 40px;
		text-align: center;
	}
	
	h1.pc-post-hero-title {
		margin:0px !important;
		padding:0px 16px;
		line-height: 40px !important;
		font-weight:500;
	}
	
	.pc-post-hero {
		padding: 0px 0px;
		text-align: center;
	}
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
	
	/* El contenedor principal de los posts en columna */
.hfe-posts-grid {
    display: flex;
    flex-direction: column;
}

/* Cada post en fila: imagen + texto */
.hfe-posts-grid .hfe-post-card {
    display: flex;
    flex-direction: row;
}

/* 🔁 Alternar orden en los posts pares */
.hfe-posts-grid .hfe-post-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Mitad y mitad para imagen y contenido */
.hfe-posts-grid .hfe-post-image {
    width: 50%;
}

.hfe-posts-grid .hfe-post-content {
    width: 50%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 16px !important;
}

/* Reordenar los elementos dentro del contenido del post */
.hfe-post-content {
    display: flex;
    flex-direction: column;
}

/* Fecha primero */
.hfe-post-content .hfe-post-meta {
    order: 1;
}

/* Título después */
.hfe-post-content .hfe-post-title {
    order: 2;
}

/* Excerpt después */
.hfe-post-content .hfe-post-excerpt {
	display: none;
    order: 3;
}

/* Enlace "Read More" al final */
.hfe-post-content .hfe-read-more {
    order: 4;
}
	
/*Post Tablet*/
	img.pc-post-hero-image.wp-post-image {
		width:90%;

	}
	 .pc-post-body {
        max-width: 90% !important;
        margin: 0px;
	 padding: 32px 16px !important;
        font-size: 16px;
    }
		
	.pc-post-hero {
		background-image: url('https://patriciacasado.com/wp-content/uploads/2025/01/Fondo-post.jpg');
		background-size: cover;
		background-position: center top;
		background-repeat: no-repeat;
		padding: 0px 0 80px;
		text-align: center;
	}
	.pc-post-hero-inner {
		        width: 90%;
		padding: 32px;
	}
	.pc-post-hero-date {
		color: #09706E;
		padding-bottom:24px;
	}

	.pc-post-hero {
		padding: 0px 0 40px;
		text-align: center;
	}
	
	h1.pc-post-hero-title {
		margin:0px !important;
		padding:0px 16px;
		line-height: 40px !important;
		font-weight:500;
	}
	
	.pc-post-hero {
		padding: 0px 0px;
		text-align: center;
	}
}

@media screen and (min-width: 320px) and (max-width: 767px) {	
	
	.hfe-post-content {
    margin-top: 16px;
} 
	
	.hfe-posts-grid {
    padding: 0px 16px;
}
/*Post movil*/
	img.pc-post-hero-image.wp-post-image {
		width:100%;

	}
	 .pc-post-body {
        max-width: 100% !important;
        margin: 0px;
	 padding: 0px 16px !important;
        font-size: 16px;
    }
		
	.pc-post-hero {
		background-image: url('https://patriciacasado.com/wp-content/uploads/2025/01/Fondo-post.jpg');
		background-size: cover;
		background-position: center top;
		background-repeat: no-repeat;
		padding: 0px 0 80px;
		text-align: center;
	}
	.pc-post-hero-inner {
		padding: 24px;
	}
	
	.pc-post-hero-date {
		color: #09706E
	}

	.pc-post-hero {
		padding: 0px 0 40px;
		text-align: center;
	}
	
	h1.pc-post-hero-title {
		margin:0px !important;
		padding:0px 16px;
		line-height: 32px !important;
		font-weight:500;
	}
	
	.pc-post-hero {
		padding: 0px 0px;
		text-align: center;
	}
}
