/* ============================================================
   FRONT PAGE - LEGALZONE 2.0
   ============================================================ */

/* ============================================================
   HERO - PROMOCIONES ROTATIVAS CON SWIPER
   ============================================================ */

.hero-section {
	margin-top: 0;
}

.heroSwiper {
	width: 100%;
	height: 400px;
}

.swiper-slide {
	position: relative;
	height: 400px;
	overflow: hidden;
}

.hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-link {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.hero-caption {
	position: absolute;
	bottom: 0;
	right: 0;
	background: var(--lz-navy);
	padding: 30px;
	border-radius: 8px 0 0 0;
	max-width: 50%;
	width: 100%;
	text-align: center;
	z-index: 2;
}

.hero-caption .btn-hero {
	background: var(--lz-gold);
	width: 50%;
	border: 1px solid var(--lz-gold);
}

.hero-caption .btn-hero:hover {
	background: transparent;
	color: var(--lz-gold);
	border: 1px solid var(--lz-gold);
}

.hero-caption h2 {
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: #fff;
}

.hero-caption p {
	font-size: 1rem;
	margin-bottom: 20px;
	color: rgba(255, 255, 255, 0.9);
}

.btn-hero {
	background: var(--lz-gold);
	color: var(--lz-navy);
	padding: 12px 30px;
	font-weight: 600;
	text-transform: uppercase;
	border-radius: 6px;
	transition: all 0.3s;
	display: inline-block;
	text-decoration: none;
}

.btn-hero:hover {
	background: #e0b860;
	color: var(--lz-navy);
	transform: translateY(-2px);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
	color: var(--lz-gold) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
	font-size: 24px;
}

.swiper-pagination-bullet-active {
    background: var(--lz-gold) !important;
	width: 20px !important;
	border-radius: 50px !important;
}

.swiper-pagination-bullet {
	background: rgba(255, 255, 255, 0.5);
	opacity: 1;
}

/* ============================================================
   BUSCADOR
   ============================================================ */

.search-section {
	padding: 40px 0;
	background: var(--lz-white);
	border-bottom: 1px solid #eee;
}

.search-wrapper {
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}

.search-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--lz-navy);
	margin-bottom: 20px;
}

.search-form .input-group {
	display: flex;
}

.input-group .btn {
	background: var(--lz-navy);
	color: #fff;
	border: 1px solid var(--lz-navy);
}

.input-group .btn:hover {
	background: transparent;
	color: var(--lz-navy);
	border-color: var(--lz-navy);
}

.search-form .form-control {
	padding: 15px 20px;
	font-size: 1rem;
	border: 2px solid #ddd;
	border-radius: 8px;
	flex: 1;
}

.search-form .form-control:focus {
	border-color: var(--lz-gold);
	box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.1);
}

.btn-search {
	background: var(--lz-navy);
	color: #fff;
	padding: 15px 30px;
	font-weight: 600;
	text-transform: uppercase;
	border-radius: 8px;
	border: none;
	transition: all 0.3s;
	white-space: nowrap;
}

.btn-search:hover {
	background: #0D3A5A;
}

/* ============================================================
   CONTENIDO PRINCIPAL
   ============================================================ */

.main-content {
	padding: 40px 0;
}

/* ============================================================
   ARTÍCULOS DESTACADOS CON SWIPER
   ============================================================ */

.featured-articles {
	margin-bottom: 40px;
}

.section-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--lz-navy);
	margin-bottom: 25px;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--lz-gold);
}

.articlesSwiper {
	padding: 10px 0 40px;
}

.featured-article {
	background: var(--lz-white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s, box-shadow 0.3s;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.featured-article:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.featured-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.featured-article h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 15px 20px 10px;
	color: var(--lz-navy);
}

.featured-article h3 a {
	color: var(--lz-navy);
	text-decoration: none;
	transition: color 0.3s;
}

.featured-article h3 a:hover {
	color: var(--lz-gold);
}

.featured-article p {
	padding: 0 20px;
	margin-bottom: 15px;
	color: var(--lz-muted);
	font-size: 0.95rem;
	line-height: 1.6;
	flex-grow: 1;
}

.read-more {
	display: inline-block;
	margin: 0 20px 20px;
	color: var(--lz-navy);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.3s;
}

.read-more:hover {
	color: var(--lz-gold);
}

/* ============================================================
   CONTENIDO SEO
   ============================================================ */
.text {
	line-height: 1.8;
	color: var(--lz-ink);
}

.text h2,
.text h3,
.text h4 {
	color: var(--lz-navy);
	margin-top: 25px;
	margin-bottom: 15px;
}

.text p {
	margin-bottom: 15px;
}

.text ul,
.text ol {
	margin-bottom: 20px;
	padding-left: 25px;
}

.text li {
	margin-bottom: 8px;
}

.text a {
	color: var(--lz-navy);
	text-decoration: none !important;
}

.text a:hover {
	color: var(--lz-gold);
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar-inner {
	background: var(--lz-white);
	padding: 20px;
	border-radius: 8px;
	border: 1px solid var(--lz-gold);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.widget-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--lz-navy);
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--lz-gold);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
	.heroSwiper {
		height: 300px;
	}

	.swiper-slide {
		height: 300px;
	}

	.hero-caption {
		padding: 20px;
	}

	.hero-caption h2 {
		font-size: 1.4rem;
	}

	.hero-caption p {
		font-size: 0.9rem;
	}
}

@media (max-width: 767px) {

	.search-form .form-control {
		border-radius: 8px 8px 0 0 !important;
	}

	.input-group .btn {
		border-radius: 0 0 8px 8px !important;
	}

	.heroSwiper {
		height: 250px;
	}

	.swiper-slide {
		height: 250px;
	}

	.hero-caption {
		padding: 15px;
		max-width: 100%;
		display: none;
	}

	.hero-caption .btn-hero {
		width: 100%;
	}

	.hero-caption h2 {
		font-size: 1.2rem;
	}

	.hero-caption p {
		font-size: 0.85rem;
		margin-bottom: 15px;
	}

	.btn-hero {
		padding: 10px 20px;
		font-size: 0.9rem;
	}

	.search-form .form-control,
	.btn-search {
		width: 100%;
	}

	.search-form .form-control {
		padding: 12px 15px;
		font-size: 16px;
	}

	.btn-search {
		padding: 12px 20px;
	}

	.featured-img {
		height: 180px;
	}

	.swiper-button-next,
	.swiper-button-prev {
		display: none;
	}
}

@media (max-width: 575px) {
	.search-section {
		padding: 30px 15px;
	}

	.search-title {
		font-size: 1.3rem;
		margin-bottom: 15px;
	}

	.section-title {
		font-size: 1.3rem;
	}
}