/* CSS Styles */

.palpite-destacado-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
}

.palpite-destacado-wrapper .palpite-destacado-partido-background {
	z-index: 1;
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

.palpite-destacado {
	z-index: 10;
	position: relative;
}

.palpite-destacado a:hover{
	text-decoration-color: transparent;
}

.palpite-destacado * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	color: var(--sc-color-dark-mode);
	font-family: var(--sc-font-family-header);
}

.palpite-destacado {
	display: flex;
	position: relative;
	align-items: end;
	justify-content: space-between;
	width: 100%;
	max-width: 1400px;
	margin: auto;
	padding: 32px;
	gap: 48px;
}

.palpite-destacado .palpite-destacado-team {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 400px;
	height: 450px;
	gap: 16px;
}

.palpite-destacado .palpite-destacado-team-logo {
	display: flex;
	position: relative;
	align-items: center;
	justify-content: center;
	height: 300px;
}

.palpite-destacado .palpite-destacado-team-logo img {
	display: block;
	width: auto;
	height: 100%;
	max-height: 100%;
	margin: auto;
	object-fit: contain;
	text-align: center;
}

.palpite-destacado .palpite-destacado-team-name {
	color: var(--sc-color-dark-mode-70);
	font-size: 32px;
	letter-spacing: var(--sc-letter-spacing-uppercase);
	text-align: center;
	text-transform: uppercase;
}

.palpite-destacado .palpite-destacado-container-info-cta {
	align-self: center;
	width: 400px;
	background: #0000007a;
	padding: 10px;
	border-radius: var(--sc-br-8);
}

.palpite-destacado p.palpite-destacado-liga {
	margin-bottom: 16px;
	color: var(--sc-color-dark-mode);
	font-size: 40px;
	line-height: 1.2;
	text-align: center;

	/* Agrega ... en textos que se van más de una línea */
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.palpite-destacado .palpite-destacado-date {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding-bottom: 8px;
	gap: 8px;
	border-bottom: 2px solid var(--sc-color-dark-mode-10);

	font-size: 26px;
	line-height: 1.3;
}

.palpite-destacado .palpite-destacado-date .date-separator {
	color: var(--sc-color-dark-mode-40);
	font-weight: var(--sc-font-weight-extralight);
	font-size: 40px;
}

.palpite-destacado .palpite-destacado-show {
	display: flex;
	justify-content: center;
	width: 100%;
	color: var(--sc-color-dark-mode-80);

	font-size: 18px;
}

.palpite-destacado .palpite-destacado-odd {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 80px;
	gap: 32px;
}

.palpite-destacado .palpite-destacado-odd .odd-draw {
	position: relative;
}

.palpite-destacado .palpite-destacado-odd .odd-draw::before {
	position: absolute;
	top: -20px;
	left: -50%;
	width: 200%;
	content: "x";
	font-weight: 200;
	font-size: 80%;
	text-align: center;
}

.palpite-destacado .palpite-destacado-odd-team-logo {
	display: flex;
	justify-content: flex-start;
	width: 50px;
	height: 100%;
}

.palpite-destacado .palpite-destacado-odd-team-logo img {
	display: block;
	width: auto;
	max-height: 100%;
	object-fit: contain;
}

.palpite-destacado .palpite-destacado-section-cta {
	display: flex;
	position: relative;
	flex-direction: column;
	margin-top: 48px;
	padding: 40px 16px 16px 16px;
	gap: 16px;
	border: 1px solid var(--sc-color-dark-mode-30);
	border-radius: var(--sc-br-4);
}

.palpite-destacado .palpite-destacado-casa {
	display: flex;
	position: absolute;
	top: -25px;
	left: 5%;
	align-items: center;
	justify-content: center;
	width: 90%;
	height: 60px;

	border-radius: 4px;
}

.palpite-destacado .palpite-destacado-casa img {
	display: block;
	position: absolute;
	width: 60%;
	height: 70%;
	margin: auto;
	border-radius: 4px;
	transition: all 0.3s ease-in-out;
}

.palpite-destacado .palpite-destacado-section-cta:hover .palpite-destacado-casa img {
	width: 65%;
	height: 75%;
}

.palpite-destacado .palpite-destacado-odd-value {
	font-size: 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.palpite-destacado .palpite-destacado-odd :where(.odd-1, .odd-2)::before {
	width: 100%;
	font-weight: 200;
	font-size: 80%;
	text-align: center;
	height: auto;
	line-height: 1;
}

.palpite-destacado .palpite-destacado-odd .odd-1::before {
	content: "1";
}

.palpite-destacado .palpite-destacado-odd .odd-2::before {
	content: "2";
}

.palpite-destacado .palpite-destacado-section-cta .btn-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;

	padding: 8px 20px;
	font-size: 22px;
	text-align: center;
	text-decoration: none;
}

.palpite-destacado .palpite-destacado-section-cta:hover {
	text-decoration: none;
}

.palpite-destacado .palpite-destacado-section-cta .cta-btn p {
	color: var(--sc-primary-button-color-text);
}

.palpite-destacado .palpite-destacado-section-cta:hover .cta-btn {
	border: 1px solid rgba(255, 255, 255, 0.1);
	background-color: var(--sc-primary-button-color-background-hover);
	box-shadow: inset 0 0 10px var(--sc-color-light-mode-70);
	color: var(--sc-primary-button-color-text-hover);
	font-size: 20px;
}

.card-casa-disclaimer-container{
	display: flex;
	justify-content: space-between;
}

/* Media Query for Tablets Ipads portrait mode */
@media (max-width: 1024px) {
	.sc-section-palpites-hero .wpex-post-cards-loop {
		width: 100%;
		gap: 0;
	}
}

/* Media Query for low resolution  Tablets, Ipads */
@media (max-width: 768px) {
	.palpite-destacado {
		justify-content: center;
	}

	.palpite-destacado .palpite-destacado-container-info-cta {
		width: 100%;
	}

	.palpite-destacado .palpite-destacado-team {
		display: none;
	}
}

@media (min-width: 481px) and (max-width: 768px) {
	.palpite-destacado .palpite-destacado-section-cta {
		gap: 32px;
	}

	.palpite-destacado p.palpite-destacado-liga {
		margin-bottom: 8px;
		font-size: 32px;
	}

	.palpite-destacado .palpite-destacado-date {
		font-size: 20px;
	}

	.palpite-destacado .palpite-destacado-date .date-separator {
		font-size: 30px;
	}

	.palpite-destacado .palpite-destacado-casa {
		left: 25%;
		width: 50%;
	}

	.palpite-destacado .palpite-destacado-odd {
		align-items: flex-end;
		height: 120px;
		margin-top: 16px;
	}

	.palpite-destacado .palpite-destacado-odd-team-logo {
		align-items: flex-end;
		justify-content: center;
		width: 130px;
	}

	.palpite-destacado .palpite-destacado-section-cta .cta-btn {
		width: 50%;
		margin: auto;
	}
}

/* Media Query for Mobile Devices */
@media (max-width: 480px) {

	.palpite-destacado p.palpite-destacado-liga {

		font-size: 32px;

	}

	.palpite-destacado .palpite-destacado-odd {
		gap: 16px;
	}

	.palpite-destacado .palpite-destacado-odd-team-logo {
		width: 100%;
	}
}