/*
Theme Name: soledad
Theme URI: https://pencidesign.net/
Description: A Multipurpose, Newspaper, Blog & WooCommerce WordPress Theme
Author: PenciDesign
Author URI: https://pencidesign.net/
Version: 8.6.2
Requires PHP: 7.4
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: black, green, white, light, one-column, two-columns, three-columns, right-sidebar, left-sidebar, fluid-layout, responsive-layout, custom-header, custom-menu, featured-images, post-formats, translation-ready
Text Domain: soledad
Domain Path: /languages
*/
/*
 * Silence is gold
 */
/* The main css file is located in "themes/soledad/main.css" */


/* Promo panel */

.promo-panel {
	position: relative;
	display: flex;
	align-items: center;
	margin: var(--promo-panel-vertical-gap-desktop) 0;
	padding: 40px 0 40px 40px;
	width: calc(100% / 0.75);
	transform: scale(0.75);
	transform-origin: left center;
	color: #fff;
	background-color: #3b3bf5;
	overflow: hidden;
}

.promo-panel::after {
	content: "";
	position: absolute;
	top: 0;
	right: -96px;
	display: inline-block;
	width: 100px;
	height: 500px;
	transform: skew(21deg);
	background-color: #aee835;
}

.promo-panel__logo {
	vertical-align: top;
}

h2.promo-panel__title {
	margin-top: 32px;
	margin-bottom: 0;
	font-family: Poppins-SemiBold;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
}

.post-entry p.promo-panel__text {
	margin-top: 20px;
	margin-bottom: 0;
	font-size: 22px;
	line-height: 1.4;
}

.post-entry a:not(.wp-block-button__link, .more-link).promo-panel__link {
	display: inline-block;
	margin-top: 32px;
	padding: 16px 40px;
	border-radius: 6px;
	font-size: 22px;
	line-height: 1;
	color: #fff !important;
	background-color: #4fbe0c;
}

.post-entry a:not(.wp-block-button__link, .more-link).promo-panel__link:hover {	
	color: #fff !important;
	background-color: rgba(79 190 12 / 85%);
}

.promo-panel__image-wrapper {
	flex-shrink: 0;
}

.promo-panel__image-wrapper_mobile {
	display: none;
}

.post-entry img.promo-panel__image {
	width: 400px;
	height: auto;
}

@media (width <= 767px) {
	.promo-panel {
		margin: var(--promo-panel-vertical-gap-mobile) 0;
		padding-right: 40px;
	}
	
	h2.promo-panel__title {
		margin-top: 30px;
	}
	
	.post-entry p.promo-panel__text {
		line-height: 1.2;
	}
	
	.promo-panel__image-wrapper_desktop {
		display: none;
	}
	
	.promo-panel__image-wrapper_mobile {
		display: block;
		margin-top: 40px;
		text-align: center;
	}
}
