/*
Theme Name:   Lightning Child – Botey
Theme URI:    https://botey.cat/
Description:  Tema fill de Lightning per a Botey Serveis Jurídics. Totes les personalitzacions del web es fan aquí perquè les actualitzacions del tema pare no les sobreescriguin.
Author:       Oriol Botey
Author URI:   https://botey.cat/
Template:     lightning
Version:      1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License:      GPL-2.0-or-later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  lightning-child-botey
*/

/* ==========================================================================
   Variables corporatives Botey Serveis Jurídics
   ========================================================================== */
:root {
	--botey-navy: #1f3a5f;
	--botey-navy-dark: #152a46;
	--botey-navy-light: #e8eef5;
	--botey-text: #1e2a38;
}

/* ==========================================================================
   Selector d'idioma (Polylang): text CAT · CAST en lloc de banderes
   El text el posa functions.php; aquí només l'estil.
   ========================================================================== */
.global-nav-list > li.lang-item > a {
	padding-left: 7px !important;
	padding-right: 7px !important;
}
.lang-item .botey-lang {
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .06em;
	color: #7a8794;
	transition: color .15s;
}
.lang-item a:hover .botey-lang {
	color: var(--botey-navy);
}
.lang-item.current-lang .botey-lang {
	color: var(--botey-navy);
	font-weight: 800;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}
/* Separador entre CAT i CAST a l'escriptori */
.global-nav-list > li.lang-item + li.lang-item {
	position: relative;
}
.global-nav-list > li.lang-item + li.lang-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 1px;
	height: 14px;
	margin-top: -7px;
	background: #c5cfd9;
}
/* Si queda alguna bandera, no es mostra */
.lang-item .pll-switcher-flag,
.lang-item a img {
	display: none !important;
}

/* ==========================================================================
   Amplada del web en pantalles grans
   Lightning limita el contingut a 1140px; sense barres laterals queda estret.
   A partir de 1400px d'amplada de pantalla s'amplia a 1320px.
   ========================================================================== */
@media (min-width: 1400px) {
	:root {
		--vk-width-container: 1320px;
	}
	.container {
		max-width: 1320px;
	}
}

/* Calculadora d'indemnització: aprofita més amplada dins de la pàgina */
.entry-body .bsjcalc {
	max-width: 1120px;
}

/* Afegiu a sota els estils personalitzats del web. */
